Android gradle build error: aapt 137 error

By accident, while trying to create my Android apps, I have this message during mergeResources:

Execution failed for task: ImmoStruct: mergeReleaseResources'.

Failed to execute command:
/ home / android / adt-bundle / sdk / build-tools / 21.1.2 / aapt s -i / home / android / queue / 294c2840260c2d59c396a7e08ac3c32ba045cb28 / ImmoStruct / src / main / res / drawable-mdpi / ic_find_previous_o home / android / queue / 294c2840260c2d59c396a7e08ac3c32ba045cb28 / ImmoStruct / build / RES / all / release / hood-MDPI / ic_find_previous_holo_light.png Error code: 137

Sometimes it works fine, sometimes it doesn't ...

The corresponding files are not always the same: ic_find_previous_holo_light.png common_signin_btn_icon_disabled_focus_light.9.png abs__ab_bottom_solid_light_holo.9.png

I tried to change the build version, but the problem remains.

Any idea on a reason, a workaround?

thanks for the help

+5
source share
1 answer

I also saw this problem and believe that it is related to deamon gradle.

escape $. / gradlew --stop

in front of your task. he helped.

0
source

Source: https://habr.com/ru/post/1213523/


All Articles