问题
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