我正在开发应用程序,但出现以下错误:
error: cannot access zzbgl
class file for com.google.android.gms.internal.zzbgl not found
Run Code Online (Sandbox Code Playgroud)
我知道StackOverflow中有一个问题,与我四天前发布的错误相同,但是答案对我的情况没有帮助。(我正在谈论这个)
在我的项目中设置Firebase Analytics之后,错误立即出现。
我的build.gradle(模块:应用程序)文件是这样的:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
compileSdkVersion 26
buildToolsVersion '27.0.3'
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId 'com.geoactio.montferri'
minSdkVersion 14
targetSdkVersion 26
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
dependencies {
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:appcompat-v7:26.1.0'
// compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.0' …Run Code Online (Sandbox Code Playgroud)