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.

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;

See original GitHub issue
 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:6335)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:5850)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5758)
        at android.app.ActivityThread.-wrap1(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1668)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:172)
        at android.app.ActivityThread.main(ActivityThread.java:6590)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzbq" on path: DexPathList[[zip file "/data/app/com.MYapp-ueUe2odQ-WU5yF60E7bQaw==/base.apk"],nativeLibraryDirectories=[/data/app/com.MYapp-ueUe2odQ-WU5yF60E7bQaw==/lib/arm, /data/app/com.MYapp-ueUe2odQ-WU5yF60E7bQaw==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:2) 
        at android.app.ActivityThread.installProvider(ActivityThread.java:6335) 
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:5850) 
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5758) 
        at android.app.ActivityThread.-wrap1(Unknown Source:0) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1668) 
        at android.os.Handler.dispatchMessage(Handler.java:106) 
        at android.os.Looper.loop(Looper.java:172) 
        at android.app.ActivityThread.main(ActivityThread.java:6590) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 
07-11 13:45:12.660 32203-32203/? I/Process: Sending signal. PID: 32203 SIG: 9

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:58

github_iconTop GitHub Comments

267reactions
sijadcommented, Jul 15, 2018

I had same issue, after trying lots of things, this fixed this issue for me:

  1. added googlePlayServicesVersion=12.0.1 to gradle.properties (I guess it’s unnecessary)
  2. added following to android/build.gradle:
 allprojects {
    repositories {
    //start here
    configurations.all {
 resolutionStrategy.eachDependency { DependencyResolveDetails details ->
   def requested = details.requested
       if (requested.group == 'com.google.android.gms') {
          details.useVersion '12.0.1'
       }
       if (requested.group == 'com.google.firebase') {
          details.useVersion '12.0.1'
         }
       }
     }
    //end
     jcenter()
       maven {
         url "https://maven.google.com"
       }
     }
 }

I’ve found this in https://github.com/idehub/react-native-google-analytics-bridge/wiki/Solution-for-Android-build-failure-issues

4reactions
HanYelimcommented, Oct 3, 2018

Thank you… you are my hero… T - T

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed resolution of: Lcom/google/android/gms/common/util/zzt
My application crashes whenever it is installed every first time in device. After reopening the app it is working fine. java.lang.
Read more >
Error java.lang.NoClassDefFoundError: Failed resolution of ...
Description: I implemented this plugin and it works, but in the debug console I get this error when I open a notification: Error...
Read more >
java.lang.NoClassDefFoundError: Failed resolution of - Medium
With gradle 4.4 everything is working fine. So to make right fix, we are in process of upgrading app and all referenced libs...
Read more >
Multidex and Proguard causing java.lang ... - Issue Tracker
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/FacebookActivity; at com.facebook.b.aa.c(Validate.java:175) at com.facebook.
Read more >
Lcom/google/android/gms/common/internal/zzbq - Exchangetuts
... PID: 12720 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq; at com.google.firebase.provider.
Read more >

github_iconTop Related Medium Post

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