Android app crashes on open
See original GitHub issuei got this error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> A problem occurred configuring project ':react-native-splash-screen'.
> Could not resolve all dependencies for configuration ':react-native-splash-screen:_debugPublishCopy'.
> Could not find com.android.support:appcompat-v7:26.1.0.
Any idea, what I could have done wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top Results From Across the Web
Why do my apps keep crashing on Android, How to fix it
The easiest way to fix an app that keeps crashing on your Android smartphone is to simply force stop it and open it...
Read more >Apps keep crashing on Android? Here's what to do
You can try force-stopping an app if it freezes or crashes. Go to Settings > Apps > See all apps > (app name)...
Read more >Why Do My Apps Keep Crashing on Android? - Avast
1. The “Force stop” method · 2. Restart your Android device · 3. Keep your phone updated · 4. Clear your cached data...
Read more >Crashes | Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >11 Quick Ways to Fix Apps Keep Crashing on Android - iMobie
Why Do Android Apps Keep Crashing? · The Most Effective Method to Fix Apps Keep Crashing · Tip 2. Force Stop Crashed App...
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
@ Goto node_modules -> react-native-splash-screen -> build.gradle Change
compileSdkVersion 26
buildToolsVersion "26.1.0"
tocompileSdkVersion 23
buildToolsVersion "23.0.1"
and
compile "com.android.support:appcompat-v7:26.1.0"
tocompile "com.android.support:appcompat-v7:23.0.1"
And then make sure your build.gradle on android -> app -> build.gradle has the same version
compileSdkVersion 23
buildToolsVersion "23.0.1"
and
compile "com.android.support:appcompat-v7:23.0.1"
Do not change the compileSdkVersion to 23. Google are beginning to only accept apk files that are >=26