我第一次使用Android,得到了以下错误
Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'' finished with non-zero exit value 2build.gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':tag-cloud')
compile('com.twitter.sdk.android:twitter:1.8.0@aar') {
transitive = true;
}
compile files('libs/bolts-android-1.2.1.jar')
compile files('libs/aws-android-sdk-s3-2.2.6.jar')
compile files('libs/aws-android-sdk-core-2.2.6.jar')
compile fileTree(dir: 'libs', include: ['*.jar'])
compile('com.crashlytics.sdk.android:crashlytics:2.5.2@aar') {
transitive = true;
}
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
compile 'com.facebook.android:facebook-android-sdk:4.6.0'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.koushikdutta.ion:ion:2.1.6'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.android.support:design:23.0.1'
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
compile 'de.greenrobot:eventbus:2.4.0'
compile files('libs/FlurryAnalytics-6.2.0.jar')
compile 'me.leolin:ShortcutBadger:1.1.3@aar'
}你知不知道这个问题会是什么,如何解决?对于这个问题,一个很好的解释也是有用的,因为我是Android的新手。(预先谢谢:)
发布于 2015-12-29 09:15:17
这个选项可以解决问题
build.gradle中所有未使用的依赖项https://stackoverflow.com/questions/34507572
复制相似问题