Closed BareumSW closed 5 years ago
빌드 및 실행이 잘됬었는데, AdFit 넣은 순간부터 아래와 같은 빌드 에러가 나오고 있습니다.
Error: Program type already present: org.intellij.lang.annotations.Identifier
dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation files('libs/bLib_EasyLogger-1.0.0.jar') implementation project(':infinitecycleviewpager') implementation project(':navigationtabstrip') implementation project(':adblockwebview') implementation "com.android.support:appcompat-v7:${supportLibVersion}" implementation "com.android.support:support-v4:${supportLibVersion}" implementation "com.android.support:cardview-v7:${supportLibVersion}" implementation 'com.github.stankoutils:app:1.3.10' implementation 'com.github.bumptech.glide:glide:3.7.0' implementation 'org.jetbrains:annotations-java5:15.0'
// AD implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "com.google.android.gms:play-services-ads-identifier:$play_service_version" implementation "com.kakao.adfit:ads-base:$adfit_version"
}
ext { compileSdkVersion = 28 buildToolsVersion = "28.0.3" adfit_version = '3.0.8' kotlin_version = '1.3.30' play_service_version = '16.0.0' supportLibVersion = '28.0.0' }
참고로, AdFit 제거하면 다시 잘 됩니다.
원인파악 및 수정완료
빌드 및 실행이 잘됬었는데, AdFit 넣은 순간부터 아래와 같은 빌드 에러가 나오고 있습니다.
Error: Program type already present: org.intellij.lang.annotations.Identifier
dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation files('libs/bLib_EasyLogger-1.0.0.jar') implementation project(':infinitecycleviewpager') implementation project(':navigationtabstrip') implementation project(':adblockwebview') implementation "com.android.support:appcompat-v7:${supportLibVersion}" implementation "com.android.support:support-v4:${supportLibVersion}" implementation "com.android.support:cardview-v7:${supportLibVersion}" implementation 'com.github.stankoutils:app:1.3.10' implementation 'com.github.bumptech.glide:glide:3.7.0' implementation 'org.jetbrains:annotations-java5:15.0'
}
ext { compileSdkVersion = 28 buildToolsVersion = "28.0.3" adfit_version = '3.0.8' kotlin_version = '1.3.30' play_service_version = '16.0.0' supportLibVersion = '28.0.0' }