gpt4 book ai didi

java - Gradle - java.exe 以非零退出值 1 完成

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

我无法以任何方式解决问题。我在这方面等待您的帮助。

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "23.0.1"
defaultConfig {
multiDexEnabled = true
applicationId "com.apaweb.track"
minSdkVersion 16
targetSdkVersion 22
versionCode 14
versionName "2.0.3"
}
dexOptions {
javaMaxHeapSize "4g"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])

compile 'com.android.support:appcompat-v7:22.+'
compile 'com.android.support:design:22.+'
compile 'com.android.support:cardview-v7:22.+'
compile 'com.android.support:recyclerview-v7:22.+'

compile 'com.google.android.gms:play-services:8.1.0'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.tuenti.smsradar:library:1.0.4'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.android.support:multidex:1.0.0'
compile 'com.koushikdutta.ion:ion:2.+'
compile 'com.koushikdutta.async:androidasync:2.+'

}

我认为这是更新 java 后的问题。系统安装了JDK 1.7JDK 1.8JDK 9。我现在使用的是 JDK 1.7

Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_80\bin\java.exe'' finished with non-zero exit value 1

Environment Variables

最佳答案

我解决了这个问题。通过升级 Android studio 和 gradle 版本。

关于java - Gradle - java.exe 以非零退出值 1 完成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44496227/

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