Android Studio中的Dex错误

时间:2015-05-06 10:46:50

标签: android android-studio

我在执行时遇到此错误。

 com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 2

这是我的依赖

 dependencies {

    compile files('libs/FlurryAnalytics-5.0.0.jar')
    compile files('libs/YouTubeAndroidPlayerApi.jar')
    compile files('libs/httpcore-4.3.jar')
    compile files('libs/httpmime-4.3.1.jar')
    compile files('libs/ima-android-sdk-beta9.jar')
    compile files('libs/twitter4j-core-3.0.4.jar')
    compile files('libs/universal-image-loader-1.9.0-with-   sources.jar')
    compile files('libs/appsee.jar')

    compile project(':facebookLibrary')
    compile project(':vASTSampleLib')

    compile ('com.google.android.gms:play-services-plus:7.0.0')
    compile ('com.google.android.gms:play-services-analytics:7.0.0')
}

我有Facebook库和依赖

dependencies {
   compile project(':facebookSDK')     
   compile 'com.android.support:appcompat-v7:21.0.3'
}

最后是Facebook SDK

 dependencies {
   compile 'com.android.support:support-v4:21.0.3'
   compile files('libs/bolts-android-1.1.2.jar')
 }

因此没有使用duplicate.jar文件。为什么我会得到Dex错误。

0 个答案:

没有答案