firebase-crash的所有依赖项是什么?

时间:2017-05-06 10:38:03

标签: android firebase firebase-crash-reporting

当我在项目中添加firebase-crash时出现以下错误:

NoClassDefFoundError: com.google.android.gms.internal.zzbnl$1

更确切地说,这是我的错误:

05-06 13:13:31.800: A/FirebaseApp(11902): Firebase API initialization failure.
05-06 13:13:31.800: A/FirebaseApp(11902): java.lang.reflect.InvocationTargetException
05-06 13:13:31.800: A/FirebaseApp(11902):   at java.lang.reflect.Method.invoke(Native Method)
05-06 13:13:31.800: A/FirebaseApp(11902):   at java.lang.reflect.Method.invoke(Method.java:372)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.FirebaseApp.zza(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.content.ContentProvider.attachInfo(ContentProvider.java:1737)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.content.ContentProvider.attachInfo(ContentProvider.java:1712)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.app.ActivityThread.installProvider(ActivityThread.java:6453)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.app.ActivityThread.installContentProviders(ActivityThread.java:6048)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5988)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.app.ActivityThread.access$1700(ActivityThread.java:211)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1766)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.os.Handler.dispatchMessage(Handler.java:102)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.os.Looper.loop(Looper.java:145)
05-06 13:13:31.800: A/FirebaseApp(11902):   at android.app.ActivityThread.main(ActivityThread.java:6912)
05-06 13:13:31.800: A/FirebaseApp(11902):   at java.lang.reflect.Method.invoke(Native Method)
05-06 13:13:31.800: A/FirebaseApp(11902):   at java.lang.reflect.Method.invoke(Method.java:372)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
05-06 13:13:31.800: A/FirebaseApp(11902): Caused by: java.lang.NoClassDefFoundError: com.google.android.gms.internal.zzbnl$1
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.android.gms.internal.zzbnl.<init>(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.crash.FirebaseCrash.<init>(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source)
05-06 13:13:31.800: A/FirebaseApp(11902):   ... 22 more

所以我的应用程序似乎可能错过了一些库。但如何找出?我没有使用Android Studio,我正在使用Delphi

0 个答案:

没有答案