gpt4 book ai didi

java - 任务 :app:Debug Process exception 执行失败

转载 作者:行者123 更新时间:2023-11-30 01:51:26 25 4
gpt4 key购买 nike

我在为 23 更新我的 SDK 后执行我的应用程序时遇到此错误。错误:任务 ':app:dexDebug' 执行失败。

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

我的 build.gradle 看起来像

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId 'com.movieschannel'
minSdkVersion 14
targetSdkVersion 23
versionCode 2
versionName "1.0.01"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}


dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.squareup.picasso:picasso:2.5.1'
compile 'ch.acra:acra:4.6.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.jpardogo.materialtabstrip:library:1.0.9'
compile 'com.google.android.gms:play-services-identity:7.3.0'
}

最佳答案

发生这种情况的原因有很多。有时“清理”项目会修复它。请检查此处发布的解决方案 Android java.exe finished with non-zero exit value 1

关于java - 任务 :app:Debug Process exception 执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32982476/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com