错误:无法访问com.google.android.gms.internal.zzbfm的zzbfm类文件(java位置侦听器问题)应用程序级别构建gradle

时间:2018-09-16 08:45:02

标签: java android build.gradle locationlistener android-studio-3.1

我收到此错误消息:

  

错误:无法访问zzbfm   找不到com.google.android.gms.internal.zzbfm的类文件

由于我更改了位置侦听器参数,因此遇到了此错误,因此我不得不进行更改,原因是之前显示了第三方参数时显示了错误。

这是我的应用程序级别构建gradle文件:

x = rcomp(100,6,0.2);  pdf = dcomp(x,6,0.2)
x1 = rcomp(100,6,0.5);  pdf1 = dcomp(x1,6,0.5)
x2 = rcomp(100,6,0.7);  pdf2 = dcomp(x2,6,0.7)
plot(x2, pdf2, type="l", lwd=1,lty=1,col="blue")

这是源代码:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.chinmayi.androiduberclone"
        minSdkVersion 19
        targetSdkVersion 28
        multiDexEnabled true
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    //add library
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.github.kmenager:material-animated-switch:1.2.2'
    implementation 'com.github.d-max:spots-dialog:0.7@aar'
    implementation 'com.firebase:geofire-android:2.1.2'
    implementation 'com.google.firebase:firebase-core:16.0.1'
    implementation 'com.google.firebase:firebase-database:16.0.1'
    implementation 'com.google.firebase:firebase-auth:16.0.1'
    //noinspection GradleCompatible
    implementation 'com.android.support:design:28.0.0-rc02'
    implementation 'com.android.support:cardview-v7:28.0.0-rc02'
    implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
    implementation 'com.rengwuxian.materialedittext:library:2.1.4'
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.google.android.gms:play-services-maps:11.8.0'
    implementation 'com.google.android.gms:play-services-location:11.8.0'
    implementation 'com.google.android.gms:play-services:11.8.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'
}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.android.application'

0 个答案:

没有答案