[Android] Autolinking not working
See original GitHub issueDescribe the bug
Build failed when I launch react-native run-android
Expected behavior Should build.
Versions :
- Platfrom: Android
- Device: Emulator
- OS: Android 9
- SDK Version: 28
- React Native Version 0.60.5
- react-native-mapbox-gl/maps version: 7.0.6
Additional context
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve project :@react-native-mapbox-gl_maps.
Required by:
project :app
> Unable to find a matching configuration of project :@react-native-mapbox-gl_maps:
- None of the consumable configurations have attributes.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:16 (6 by maintainers)
Top Results From Across the Web
React native auto linking is not working (RN0.61.5)
To resolve, just visit their github repositories and go through the manual linking process for android platform. Hope this helps. Share.
Read more >Android autolinking is not working #11 - GitHub
When adding a native package that supports auto-linking, it's working on IOS but not on android. I used react-native-screens but it happens ...
Read more >My Android Auto app isn't working - Google Help
My Android Auto app isn't working · Check if your car is compatible · Check your USB cable · Check your car or...
Read more >Android Auto - Apps on Google Play
Android Auto is your smart driving companion that helps you stay focused, connected, and entertained with the Google Assistant.
Read more >React Native Auto Linking on Android - Medium
gradle and MainApplication.java . If you have already moved your MainApplication class to Kotlin, then this unlinking will not work. You need to ......
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
I just try manually linking by adding this in settings.gradle file
and it works!
It’s a workaround, there is still a bug with the autolinking
@bpouzet thanks a lot. Now I see. Line order in settings.gradle is important. When I put
apply from...
aboveinclude
. It starts to work.