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.

NoClassDefFoundError Android app not starting

See original GitHub issue

The problem

Installation was done using react-native link tipsi-stripe and after building app didn’t run

Environment

  • tipsi-stripe version: 7.4.0
  • iOS or Android: Android
  • OS version: 9

Links to logs and sources

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.blendid, PID: 20759
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;
        at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:2)
        at android.app.ActivityThread.installProvider(ActivityThread.java:6627)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:6174)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6089)
        at android.app.ActivityThread.access$1200(ActivityThread.java:212)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1806)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6912)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:860)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzbq" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.blendid-Rq3OGPANW7-68fycwqu37A==/base.apk"],nativeLibraryDirectories=[/data/app/com.blendid-Rq3OGPANW7-68fycwqu37A==/lib/arm, /data/app/com.blendid-Rq3OGPANW7-68fycwqu37A==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
       

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
andriko007commented, Feb 27, 2019

@cybergrind I tried to run from version 6.0.0 to last version, nothing helped

0reactions
stefanoTroncommented, Oct 28, 2019

This comment https://github.com/evollu/react-native-fcm/issues/998#issuecomment-404736950 fixed it for me. (used 17.0.0 instead of 12.0.1)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android app won't start noClassDefFoundError - Stack Overflow
I'm creating a gps app for the android! And now I've stumbled upon a problem. The app doesn't start at all... Any ideas...
Read more >
java.lang.NoClassDefFoundError - Bugs and Other Issues
I created my app with MIT app inventor but when I tried to install the app on my mobile with Google Console I...
Read more >
Known issues with Android Studio and Android Gradle Plugin
If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version...
Read more >
3 ways to solve java.lang.NoClassDefFoundError in Java J2EE
NoClassDefFoundError is not something that cannot be resolved or is hard to resolve it's just its manifestation that puzzles most Java developers.
Read more >
Weird Android junit test failure java.lang.NoClassDefFoundError
This error is weird since the error is not 100% reproduce-able. ... Check the java version, I have two java sdk installed. One...
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