添加startapp实现后,在同步和重建后出现以下错误:
Program type already present: a.a.a.b Message{kind=ERROR, text=Program type already present: a.a.a.b, sources=[Unknown source file], tool 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'
}
有什么想法吗?提前致谢..
最佳答案
这项 Activity 对我很有帮助:
https://stackoverflow.com/a/50292583/3035333
我将startapp实现从app/gradle移到了project/gradle。所以成功了
关于android - 程序类型已经存在:a.a.a.b,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51621223/