728x90

Error: Program type already present: android.support.v4.app.BackStackRecord$Op


컴파일 하니까 에러가 발생하면서 컴파일이 안된다.


implementation fileTree(dir: 'libs', include: ['*.jar'])

하고 중복이 발생하는 부분이 있나 싶어서


dependencies {
    //implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation files('libs/d2xx.jar')
}

로 하고 컴파일을 하니까 에러가 발생하지 않고 잘 된다.





블로그 이미지

Link2Me

,