我試圖運行我的應用程序,但它給出了上述錯誤。無法找到解決方案。請幫助。以下是我的Gradle代碼。java.exe完成非零退出值1 android studio
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.example.mabdullahali.trenditch"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
}
[搖籃的可能的複製 - 什麼是非零價值和我如何解決它?](http://stackoverflow.com/questions/36698816/gradle-what-is-a-non-zero-exit-value-and-how-do -i-fix-it) –