错误:任务':app:processDebugResources'的执行失败。 com.android.ide.common.internal.LoggedErrorException:无法运行命令: E:\ Program \ AndroidStudio \ sdk \ build-tools \ 21.0.0 \ aapt.exe包-f --no-crunch -IE:\ Program \ AndroidStudio \ sdk \ platforms \ android-21 \ android.jar -MC: \ Users \ nick \ AndroidStudioProjects \ MaterialBasicApp \ app \ build \ intermediates \ manifests \ debug \ AndroidManifest.xml -SC:\ Users \ nick \ AndroidStudioProjects \ MaterialBasicApp \ app \ build \ intermediates \ res \ debug -AC:\ Users \ nick \ AndroidStudioProjects \ MaterialBasicApp \ app \ build \ intermediates \ assets \ debug -m -JC:\ Users \ nick \ AndroidStudioProjects \ MaterialBasicApp \ app \ build \ generated \ source \ r \ debug -FC:\ Users \ nick \ AndroidStudioProjects \ MaterialBasicApp \ app \ build \ intermediates \ libs \ app-debug.ap_ --debug-mode --custom-package eu.twenty1media.materialbasicapp -0 apk --output-text-symbols C:\ Users \ nick \ AndroidStudioProjects \ MaterialBasicApp \应用程序\编译\ \中间体符号\调试 错误代码: -1073741819
任何人都有解决方案吗?想在我的应用程序中为Material Design添加此内容。
答案 0 :(得分:0)
您需要更新的构建工具,compileSdkVersion 21
与buildToolsVersion "21.1.1"
和targetSdkVersion 21
android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
defaultConfig {
applicationId "com.yourcompany.yourpackagename"
minSdkVersion 10
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
...
{{1}}