用非零出口值完成我正在尝试导入我的项目。但是,当我运行应用程序时,我会得到以下错误:Error: Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Vishnu
Ruhela\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non- zero exit value 1这是我的分级文件apply plugin: 'com.android.application'android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.vishnuruhela.signup"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors { }}dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':listView1')}
3 回答
慕姐4208626
TA贡献1852条经验 获得超7个赞
./gradlew assembleDebug --info
成功启动进程命令‘/usr/local/opt/android-sdk/build-tools/21.1.2/aapt’‘
呼唤远方
TA贡献1856条经验 获得超11个赞
build.gradle
android { compileSdkVersion {X} buildToolsVersion "{X.Y.Z}" ...}
- 3 回答
- 0 关注
- 431 浏览
添加回答
举报
0/150
提交
取消