小编Ama*_*rma的帖子

在OS独立路径'org/apache/http/client/version.properties'中找到多个文件

在将Android Studio从2.3更新到3.0之前,每件事情都运行良好.在Android Studio中运行应用程序时遇到此错误,complile已通过.我无法理解为什么会出现此错误.我在互联网上一无所获.

这是我的gradle文件.

 packagingOptions {

        exclude 'META-INF/DEPENDENCIES.txt'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/dependencies.txt'
        exclude 'META-INF/LGPL2.1'

    }
}

repositories {
    mavenCentral()
    google()
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile files('libs/DraggableGridView.jar')
    compile files('libs/httpclient-4.3.6.jar')
    compile files('libs/httpcore-4.3.3.jar')
    compile files('libs/httpmime-4.3.6.jar')
    compile files('libs/android-query-full.0.26.7.jar')
    compile project(':gestureimageview')
    compile files('libs/commons-lang3-3.5.jar')
    compile files('libs/json_simple-1.1.jar')
    compile('com.google.api-client:google-api-client-android:1.22.0') {
        exclude group: 'org.apache.httpcomponents'
    }

    compile group: 'com.dropbox.core', name: 'dropbox-core-sdk', version: '3.0.4', changing: true

    //    compile 'com.dropbox.core:dropbox-core-sdk:3.0.4'

    //    compile 'ly.img.android:photo-editor-sdk:5.0.0-beta'

    //    compile 'com.github.thorbenprimke:realm-searchview:0.9.6' …
Run Code Online (Sandbox Code Playgroud)

android android-studio android-studio-3.0

10
推荐指数
1
解决办法
9397
查看次数