question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android app crashes on open

See original GitHub issue

i 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:closed
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

17reactions
wachidyuliocommented, Aug 2, 2018

@ Goto node_modules -> react-native-splash-screen -> build.gradle Change

compileSdkVersion 26 buildToolsVersion "26.1.0" to compileSdkVersion 23 buildToolsVersion "23.0.1"

and

compile "com.android.support:appcompat-v7:26.1.0" to compile "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"

10reactions
WilliamAlexandercommented, Aug 14, 2018

Do not change the compileSdkVersion to 23. Google are beginning to only accept apk files that are >=26

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found