我用我的build.gradle以下依存關係:收到錯誤:執行失敗的任務 ':應用程序:dexDebug'
dependencies {
/*compile fileTree(dir: 'libs', include: ['*.jar'])*/
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.parse:parse-android:1.11.0'
compile 'com.parse.bolts:bolts-android:1.3.0'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.mixpanel.android:mixpanel-android:4.6.4'
compile project(':intercom-sdk-base')
compile project(':intercom-sdk-gcm')
compile 'com.stripe:stripe-android:1.0.3'
}
我評論過線compile fileTree(dir: 'libs', include: ['*.jar'])
要避免不匹配,但仍然會出現以下錯誤:
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 2
你可以發佈完整的錯誤信息。 – Raghavendra
你可以使用'compile'com.parse:parse-android:1.12.0''而不是'1.11.0' –
顯示錯誤日誌&post'build.gradle'總數。 –