gpt4 book ai didi

android - 突然无法构建android studio项目报错: cannot access zzbcc

转载 作者:行者123 更新时间:2023-11-30 00:13:00 24 4
gpt4 key购买 nike

我的 android studio 项目出现以下错误:

Error:(77, 40) error: cannot access zzbcc class file for com.google.android.gms.internal.zzbcc not found Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

它突然出现了。问题出在使用 firebase 身份验证的文件之一中。如果我评论它然后出现在另一个使用 map 的文件中。

编辑1:

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' })

compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.onesignal:OneSignal:[3.6.2, 3.99.99]'
compile 'com.github.pinball83:masked-edittext:1.0.3'
compile 'com.android.support:appcompat-v7:26.1.+'
compile 'com.google.firebase:firebase-core:11.2.2'
compile 'com.google.firebase:firebase-database:11.2.2'
compile 'com.google.firebase:firebase-auth:11.2.2'
compile 'com.google.firebase:firebase-invites:11.2.2'
compile 'com.google.firebase:firebase-storage:11.2.2'
compile 'com.google.android.gms:play-services-location:11.2.2'
compile 'com.google.android.gms:play-services-maps:11.2.2'
compile 'com.google.android.gms:play-services-places:11.2.2'
compile 'com.firebaseui:firebase-ui-database:2.0.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:design:26.1.+'
compile 'com.android.support:support-vector-drawable:26.1.+'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.google.maps.android:android-maps-utils:0.5'
compile 'com.google.code.gson:gson:2.7'
compile 'com.android.support:multidex:1.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:support-v4:26.1.+'
compile 'com.android.support:cardview-v7:26.1.+'
compile 'com.android.support:recyclerview-v7:26.1.+'
testCompile 'junit:junit:4.12' } apply plugin: 'com.google.gms.google-services'

我很确定这个错误不是因为任何代码更改,因为它正在运行,但是当我在几天后打开它时它停止工作了。应该是依赖关系有问题。

最佳答案

从您的构建中删除此依赖项:

compile 'com.firebaseui:firebase-ui-database:2.0.0'

这是一个非常旧的 Firebase-UI 版本。你应该使用 instructions here反而。还要考虑更新您的 Firebase SDK 版本,并确保 Firebase-UI 的版本与我引用的文档中的表格中所示的 SDK 匹配。

关于android - 突然无法构建android studio项目报错: cannot access zzbcc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47837264/

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