节目类型已存在:a.a.a.b

时间:2018-07-31 20:04:18

标签: android android-studio compiler-errors startapp

添加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'
}

有什么想法吗?预先感谢。.

1 个答案:

答案 0 :(得分:0)

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

我将startapp实现从app / gradle移到了project / gradle。所以成功了