Muh*_*lah 7 java android build.gradle android-gradle-plugin
错误:任务':onyxenrollwizardsampleapp:processDebugResources'的执行失败.com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:处理'命令'C:\ Android\sdk\build-tools\23.0.2\aapt.exe''以非完成零退出值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'
}
Run Code Online (Sandbox Code Playgroud)
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1" //Just change this from 23.0.2 to 23.0.1
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'
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11114 次 |
| 最近记录: |