error: cannot access zzeuq class file for com.google.android.gms.internal.zzeuq not found

前端 未结 5 875
傲寒
傲寒 2020-12-20 07:32

I am facing this error in my project here is my gradle build

implementation fileTree(dir: \'libs\', include: [\'*.jar\'])
implementation \'com.android         


        
相关标签:
5条回答
  • 2020-12-20 08:13

    Please try with equal versioning may be going wrong just because of inequal versioning do like following,

    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.1'
    implementation 'com.android.support:design:27.1.1'
    implementation 'com.android.support:support-v4:27.1.1'
    implementation 'com.google.firebase:firebase-messaging:16.0.0'
    implementation 'com.google.firebase:firebase-auth:16.0.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation 'com.google.firebase:firebase-database:16.0.0'
    
    implementation 'com.google.firebase:firebase-core:16.0.0'
    
    0 讨论(0)
  • 2020-12-20 08:26

    Make sure the compile and target sdk number is the same as the app compat number. like this

    compileSdkVersion 26
    targetSdkVersion 26
    implementation 'com.android.support:appcompat-v7:26.1.0'
    
    0 讨论(0)
  • 2020-12-20 08:28

    make sure to have maven imported in your gradle, check the docs https://developers.google.com/android/guides/setup

    0 讨论(0)
  • 2020-12-20 08:33

    Try to use the same version of Api or use External .jar files

    0 讨论(0)
  • 2020-12-20 08:35

    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'com.android.support:appcompat-v7:27.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.google.firebase:firebase-core:16.0.1'
    
    implementation 'com.google.firebase:firebase-auth:11.6.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    
    0 讨论(0)
提交回复
热议问题