Android studio ERROR: Unable to open PNG file, androidunable
ERROR: Unable to open PNG file; Error Code: 42
I recently used android stuidio to build a gradle project and reported an error during running.Error Code 42;ERROR: Unable to open PNG file:
Check related materials,The path is too long or the path name contains Chinese characters or spaces.
If you know the cause, the file header can be resolved. If you want to view the detailed error information, you can see the following
Error:Execution failed for task ':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: 42Output: 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