首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >无法构建android studio项目无法访问com.google.android.gms.internal.zzbcc的zzbcc类文件未找到

无法构建android studio项目无法访问com.google.android.gms.internal.zzbcc的zzbcc类文件未找到
EN

Stack Overflow用户
提问于 2017-12-21 15:07:04
回答 1查看 448关注 0票数 0

一切都很好的建设,但最近在一周的时间,现在的项目没有建设,

无法访问zzbcc类文件错误可能与我在项目中使用的google地图代码的添加标记方法有关

这是我当前的gradle构建文件

代码语言:javascript
复制
buildscript {
repositories {
    maven { url 'https://maven.fabric.io/public' }
}

dependencies {
    classpath 'io.fabric.tools:gradle:1.+'
}}


dependencies {


/*For Facebook Sign in*/
compile files('libs/YouTubeAndroidPlayerApi.jar')
//fort lib
compile project(':FORTSDKv1.4')
compile project(':likebutton')
compile project(':infiniteviewpager')
compile 'com.android.support:support-v4:27.0.0'
compile 'com.android.support:appcompat-v7:27.0.0'
compile 'com.intuit.sdp:sdp-android:1.0.4'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support:design:27.0.0'
compile 'com.android.support:recyclerview-v7:27.0.0'
compile 'com.android.support:cardview-v7:27.0.0'
compile 'com.android.support:palette-v7:27.0.0'
compile 'com.github.clans:fab:1.6.2'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'com.squareup.okhttp3:okhttp:3.5.0'
compile 'com.github.florent37:arclayout:1.0.1'
compile 'com.flaviofaria:kenburnsview:1.0.7'
compile 'com.jakewharton:butterknife:8.4.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
//    compile 'com.google.android.gms:play-services-auth:9.2.1'
compile 'com.facebook.android:facebook-android-sdk:4.0.1'
//    compile 'com.google.android.gms:play-services-appindexing:9.2.1'
compile 'com.yayandroid:ParallaxRecyclerView:1.1'
compile 'com.github.scottyab:showhidepasswordedittext:0.8'
compile 'com.txusballesteros:bubbles:1.2.1'
compile 'com.victor:lib:1.0.1'
compile 'com.shamanland:fonticon:0.1.8'
compile 'com.google.guava:guava:19.0'
compile 'org.bouncycastle:bcprov-jdk16:1.46'
compile 'commons-codec:commons-codec:1.10'
compile 'com.vinaygaba:creditcardview:1.0.3'
//    compile 'com.google.android.gms:play-services-maps:9.2.1'
compile 'com.android.support:multidex:1.0.1'
compile 'com.github.damson:Bright:v1.1.0-release'
//    compile 'com.google.android.gms:play-services:9.2.1'
compile 'com.yalantis:ucrop:2.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.wang.avi:library:2.1.3'
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
    transitive = true;
}
// OneSignal SDK
compile 'com.onesignal:OneSignal:[3.6.1,3.99.99)'
compile 'com.google.android.gms:play-services:11.2.2'
compile 'com.google.android.gms:play-services-auth:11.2.2'
compile 'com.google.android.gms:play-services-maps:11.2.2'
compile 'com.google.firebase:firebase-appindexing:11.2.2'
compile 'com.google.firebase:firebase-messaging:11.2.2'
compile 'com.google.code.gson:gson:2.8.2'
//compile 'com.adjust.sdk:adjust-android-criteo:4.2.3'
compile 'com.adjust.sdk:adjust-android:4.11.4'
compile 'com.google.android.gms:play-services-analytics:11.2.2'
}
apply plugin: 'com.google.gms.google-services'

干净的构建成功,但不能运行应用程序或生成签名的apk,我看到了许多类似的问题,他们指向依赖问题,但在这种情况下,firebase和google play服务都是相同的。

谷歌通过使firebase和 play服务依赖相同并使用最新的稳定版本解决了问题

EN

回答 1

Stack Overflow用户

发布于 2017-12-21 17:54:25

更新到最新的google play版本和gradle依赖项中的firebase

我只需将gradle中的依赖项版本更改为最新版本,所有的构建问题都得到了解决。谢谢。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47919668

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档