Android Studio: Duplicate files copied in APK META-INF/DEPENDENCIES when compile

前端 未结 6 1620
野的像风
野的像风 2020-11-29 04:56

I exported my project from Eclipse and imported to Android Studio using the instructions in this link: http://developer.android.com/sdk/installing/migrate.html

When

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 05:33

    dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.0.2' implementation 'com.google.android.gms:play-services-ads:10.2.1' implementation 'com.android.support:support-annotations:25.0.1' testImplementation 'junit:junit:4.12'

    **// select only one in two line below**  implementation ‘package’    //implementation project(‘:package’)
    

    }

    // good luck

提交回复
热议问题