java按零退出_java – 错误:任务执行失败,以非零退出值1结束

在尝试构建Android项目时遇到Error:Execution Failed for task ':onyxenrollwizardsampleapp:processDebugResources'。具体错误信息为Process ‘command ‘C:Androidsdkuild-tools23.0.2aapt.exe’ finished with non-zero exit value 1。Gradle文件中配置了compileSdkVersion和buildToolsVersion,并尝试引入onyx-enroll-wizard库。
摘要由CSDN通过智能技术生成

Error:Execution Failed for task ‘:onyxenrollwizardsampleapp:processDebugResources’.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘C:\Android\sdk\build-tools\23.0.2\aapt.exe” finished with non-zero exit value 1

这是我的Gradle文件.请帮助我

apply plugin: 'com.android.application'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

applicationId "com.example.onyx_enroll_wizard_sample_app"

minSdkVersion 14

targetSdkVersion 23

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.txt'

}

}

lintOptions {

abortOnError false

}

}

repositories {

mavenCentral()

maven {

url 'http://nexus.diamondfortress.com/nexus/content/repositories/releases'

}

maven {

url 'http://nexus.diamondfortress.com/nexus/content/repositories/snapshots'

}

}

dependencies {

compile 'com.android.support:support-v13:23.0.1'

compile 'com.dft.android:onyx-enroll-wizard:4.1.3'

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值