Android Studio running error error:unable to open PNG file;error code:42
Recently in the use of Android Stuidio is the construction of Gradle, the operation of error error Code ; error:unable to open PNG file :
Refer to the relevant information, the path is too long or the path name in Chinese or a space caused by
Know the reason, the file header can be solved, if you want to see the detailed error message, you can see the following
Error:execution failed forTask': Samples:mergedebugresources '.> error:failed to run command:d:\program\android2\adt-bundle-windows-x86_64-20140702\sdk\build-tools\21.1. 2\aapt.exe s-i D:\android\study_work\shanxing menu\xcb-shanxing menu\circularfloatingactionmenu-master\ Circularfloatingactionmenu-master\samples\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0. 0\res\drawable-ldrtl-xxhdpi\abc_ic_ab_back_mtrl_am_alpha.png-o D:\android\study_work\shanxing menu\xcb-shanxing Menu\circularfloatingactionmenu-master\circularfloatingactionmenu-master\samples\build\intermediates\res\debug \drawable-ldrtl-xxhdpi-v17\abc_ic_ab_back_mtrl_am_alpha.pngerror Code: theOutput:d:\android\study_work\shanxing menu\xcb-shanxing Menu\circularfloatingactionmenu-master\ Circularfloatingactionmenu-master\samples\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0. 0\res\drawable-ldrtl-xxhdpi\abc_ic_ab_back_mtrl_am_alpha.png error:unable to open PNG file
Welcome to the Csdn-markdown Editor