Error Execution failed for task ':app:mergeReleaseResources' building APK

两盒软妹~` 提交于 2019-12-24 01:59:08

问题


After trying to build APK once and fixing an error, I got an error executing ./gradlew assembleRelease again: Execution failed for task ':app:mergeReleaseResources' building APK


回答1:


The problem occured becaused when I tried to build once, it has created drawables dirs on android/app/src/main/res/. Then when I tried on second time, it has shown me this error Execution failed for task ':app:mergeReleaseResources' building APK

I just deleted the drawable-* dirs and it worked.

Hope it helps!

rm -rf android/app/src/main/res/drawable-*



来源:https://stackoverflow.com/questions/52652381/error-execution-failed-for-task-appmergereleaseresources-building-apk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!