我在Android Studio上使用LibGDX创建游戏。当我在桌面可执行文件上运行它时,它完美地运行。但是当我尝试在手机上运行时,由于出现问题,代码无法编译:
Error:Execution failed for task ':android:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Diego\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1
这是我的android .gradle:
android {
buildToolsVersion "23.0.2"
compileSdkVersion 23
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
instrumentTest.setRoot('tests')
}
defaultConfig {
applicationId "com.globapps.supermarioclon"
minSdkVersion 8
targetSdkVersion 23
}
}
有谁知道这条消息是什么意思?谢谢。