Welcome to the Csdn-markdown Editor

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.