添加startapp实现后,在同步和重建后出现以下错误:
程序类型已经存在:a.a.a.b消息{种类=错误,文本=程序 类型已经存在:a.a.a.b,sources = [未知源文件],工具 name = Optional.of(D8)}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
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.android.billingclient:billing:1.0'
implementation 'com.google.android.gms:play-services-ads:15.0.1'
implementation 'com.startapp:inapp-sdk:3.9.3'
}
有什么想法吗?预先感谢。.
答案 0 :(得分:0)
这项活动对我很有帮助: https://stackoverflow.com/a/50292583/3035333
我将startapp实现从app / gradle移到了project / gradle。所以成功了