gpt4 book ai didi

java - Android 应用程序崩溃并出现以下错误

转载 作者:太空宇宙 更新时间:2023-11-04 10:11:25 25 4
gpt4 key购买 nike

09-10 16:24:41.486 21924-21924/com.parse.starter E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.parse.starter, PID: 21924
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzab;
at com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source:2)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:0)
at android.app.ActivityThread.installProvider(ActivityThread.java:6239)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5805)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5722)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
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.zzab" on path: DexPathList[[zip file "/data/app/com.parse.starter-gcBDXSCemV2D_lWzURBCRA==/base.apk", zip file "/data/app/com.parse.starter-gcBDXSCemV2D_lWzURBCRA==/split_lib_dependencies_apk.apk", zip file

这是我的代码:我认为错误就在这部分。

*dependencies {
implementation 'com.google.android.gms:play-services-maps:15.0.1'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.parse.bolts:bolts-tasks:1.3.0'
compile 'com.parse:parse-android:1.13.0'
compile 'com.google.android.gms:play-services:9.4.0'
compile 'com.android.support:multidex:1.0.1'
}*

您能帮我解决这个问题吗?我真的被困住了。

最佳答案

由于依赖项版本不同而出现异常。两者使用相同的版本。

'com.google.android.gms:play-services:9.4.0'
'com.google.android.gms:play-services-maps:15.0.1'

关于java - Android 应用程序崩溃并出现以下错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52256467/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com