Android

[Android] Failed to resolve: multidex-instrumentation

Failed to resolve: multidex-instrumentation

gradle 버전 업데이트 후 발생하는 오류다. 

매번 업데이트 할 때마다 뭔가 다른 이슈들이 나타난다.

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.android.support:multidex:1.0.3'

implementation 'com.google.firebase:firebase-messaging:17.3.4'
//admob
implementation 'com.google.firebase:firebase-ads:17.1.1'
//firebase - analytics
implementation 'com.google.firebase:firebase-core:16.0.5'
//오류보고
implementation 'com.google.firebase:firebase-crash:16.2.1'

implementation('com.crashlytics.sdk.android:crashlytics:2.9.4@aar') {
transitive = true
exclude group: 'com.android.support', module: 'support-annotations'
}

}

해결책 :  아래 내용 추가하면 해결됨!! debug모드에서 빌드시 발생하는 케이스로 사료됨!!


    androidTestImplementation 'com.android.support:multidex-instrumentation:1.0.3'

Leave a Reply

error: Content is protected !!