Build failed with an exception on Android
See original GitHub issueHi,
My app is working well on iOS on dev. but when it goes to andorid I have below error :
> Could not resolve all files for configuration ':react-native-screens:debugCompileClasspath'.
> Could not find coordinatorlayout.jar (androidx.coordinatorlayout:coordinatorlayout:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/coordinatorlayout/coordinatorlayout/1.0.0/coordinatorlayout-1.0.0.jar
react-native run-android
package.json
build.gradle
seems it’s an enviromental problem, cause it’s working on my friend’s laptop!!
any idea to make it work ? Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
java - Android Studio Build failed with an exception Execution ...
3 Answers 3 · Do a project cleanup. Go to Build->Clean Project and try again · If (1) doesn't work, close and restart...
Read more >FAILURE: Build failed with an exception in android studio
Hi, I am using editor version 2.4.6 to create a build, after building in cocos when trying to build on android getting an...
Read more >Gradle build error. Build failed with an exception - Help/Discuss
I get this error when I try to build my game for Android in Unity. How do I get rid of that? FAILURE:...
Read more >Build failed with an exception. * What went wrong: Could not ...
Facing this issue while running on android FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies ......
Read more >Known issues with Android Studio and Android Gradle Plugin
When you navigate to Build > Generate Signed Bundle / APK and attempt to configure app ... might fail and throw an INSTALL_PARSE_FAILED_NOT_APK...
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
fixed!
in
node_modules/react-native-screens/build.gradle
I changedfrom
dependencies
to@kmagiera sry for mention, any suggestion to fix this permanently ? thanks
Worked for me, Thanks.