RN 0.66 Could not find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0
See original GitHub issueDescribe the bug
After upgrading React Native from 0.63.4 to 0.66 android project does not compile, showing the error:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0.
Required by:
project :app > project :react-native-mapbox-gl_maps > com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0
Versions (please complete the following information):
- Platform: Android
- Dev OS: macOS 11.6
- react-native-mapbox-gl Version 8.3.0
- React Native Version 0.66
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:17 (3 by maintainers)
Top Results From Across the Web
RN 0.66 Could not find com.mapbox.mapboxsdk ... - GitHub
Describe the bug After upgrading React Native from 0.63.4 to 0.66 android project does not compile, showing the error: Execution failed for ...
Read more >Could not find com.mapbox.mapboxsdk:mapbox-android ...
Because I have 2 very similar projects, in one of them this solution works seamlessly, but in the other the error Could not...
Read more >Installation | Maps SDK | Android - Mapbox docs
Install the Mapbox Maps SDK for Android using Maven.
Read more >Migrate to v10 | Maps SDK | Android - Mapbox docs
The SDK will not automatically detect the legacy database and an application level migration is necessary to move the existing database. Below is...
Read more >Installation | Search SDK | Android - Mapbox
Install the Mapbox Search SDK for Android using Maven.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
can you please try with:
android/build.gradle
notice, that this is probably just a temporary workaround as jcenter as a dep repo is no longer maintained indefinitely (some time 2022 I believe). I couldn’t get it to work with
mavenCentral
unfortunately, although I believe, that mapbox did move their deps there 😕