运行Android App时出现以下错误:
Error: Type com.google.android.gms.common.internal.zzi is referenced as an interface from `com.google.android.gms.common.internal.zzj`.
build.gradle文件在这里:
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId 'com.example.photoeditor'
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
manifestPlaceholders = [appPackageName: "${applicationId}"]
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES'
pickFirst 'AndroidManifest.xml'
}
dexOptions {
jumboMode true
}
productFlavors {}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.google.android.gms:play-services-ads:17.0.0'
implementation 'com.adobe.creativesdk.foundation:auth:0.9.1251'
implementation 'com.adobe.creativesdk:image:4.8.4'
implementation 'com.localytics.android:library:4.0.1'
testImplementation 'junit:junit:4.12'
}
是否需要在此处放置其他文件才能找到解决方案? 有人可以帮忙解决此问题吗?
预先感谢