简体   繁体   中英

Explanation of Gradle build error

What is this error about? I don't understand it.

Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\\Android\\sdk\\build-tools\\22.0.1\\aapt.exe'' finished with non-zero exit value 1

PS My SDK build version is already 22.0.1

The problem was the writing of the old and new versions of Android Studio. In the file Manifest.xml.

android: icon = "@ drawable / ic_launcher"

should be replaced by

android: icon = "@ mipmap / ic_launcher"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM