E / AndroidRuntime:致命异常:主进程:com.example.vismaychaudhari.testapp,PID:4439

时间:2019-10-08 19:15:05

标签: java android-studio runtime

我在执行代码过程中遇到运行时错误,代码在没有firebase的情况下可以正常运行,但是当使用firebase时,应用程序崩溃了。

E / Android运行时:致命异常:主要     流程:com.example.vismaychaudhari.testapp,PID:4439     java.lang.NoClassDefFoundError:无法解决以下问题:Lcom / google / android / gms / common / internal / zzx;         在com.google.android.gms.measurement.internal.zzv.zzaL(未知来源:0)         在com.google.android.gms.measurement.AppMeasurementContentProvider.onCreate上(未知来源:4)         在android.content.ContentProvider.attachInfo(ContentProvider.java:2092)         在android.content.ContentProvider.attachInfo(ContentProvider.java:2066)         在android.app.ActivityThread.installProvider(ActivityThread.java:6983)         在android.app.ActivityThread.installContentProviders(ActivityThread.java:6528)         在android.app.ActivityThread.handleBindApplication(ActivityThread.java:6445)         在android.app.ActivityThread.access $ 1300(ActivityThread.java:219)         在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1859)         在android.os.Handler.dispatchMessage(Handler.java:107)         在android.os.Looper.loop(Looper.java:214)         在android.app.ActivityThread.main(ActivityThread.java:7356)         在java.lang.reflect.Method.invoke(本机方法)         在com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run(RuntimeInit.java:492)         在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)      原因:java.lang.ClassNotFoundException:在路径:DexPathList [[zip文件“ /data/app/com.example.vismaychaudhari.testapp”中找不到类“ com.google.android.gms.common.internal.zzx” -ljwzMOFjLBjuIrFjEbOT7Q == / base.apk“],nativeLibraryDirectories = [/ data / app / com.example.vismaychaudhari.testapp-ljwzMOFjLBjuIrFjEbOT7Q == / lib / x86,/ system / lib,/ system / product / lib]         在dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)         在java.lang.ClassLoader.loadClass(ClassLoader.java:379)         在java.lang.ClassLoader.loadClass(ClassLoader.java:312)         在com.google.android.gms.measurement.internal.zzv.zzaL(未知来源:0)         在com.google.android.gms.measurement.AppMeasurementContentProvider.onCreate上(未知来源:4)         在android.content.ContentProvider.attachInfo(ContentProvider.java:2092)         在android.content.ContentProvider.attachInfo(ContentProvider.java:2066)         在android.app.ActivityThread.installProvider(ActivityThread.java:6983)         在android.app.ActivityThread.installContentProviders(ActivityThread.java:6528)         在android.app.ActivityThread.handleBindApplication(ActivityThread.java:6445)         在android.app.ActivityThread.access $ 1300(ActivityThread.java:219)         在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1859)         在android.os.Handler.dispatchMessage(Handler.java:107)         在android.os.Looper.loop(Looper.java:214)         在android.app.ActivityThread.main(ActivityThread.java:7356)         在java.lang.reflect.Method.invoke(本机方法)         在com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run(RuntimeInit.java:492)         在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

0 个答案:

没有答案