1

添加 startapp 实现后,同步和重建后出现以下错误:

程序类型已存在:aaab Message{kind=ERROR, text=程序类型已存在:aaab, 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'
}

有什么想法吗?提前致谢..

4

1 回答 1

0

这项活动对我帮助很大: https ://stackoverflow.com/a/50292583/3035333

我将 startapp 实现从 app/gradle 移至 project/gradle。所以它起作用了。

于 2018-08-01T19:00:06.140 回答