Android studio image ERROR: 9-patch image xx .9.png malformed

Source: Internet
Author: User

Android studio image ERROR: 9-patch image xx .9.png malformed

Android studio image error 9-patch image error in Android

ERROR: 9-patch image xx .9.png malformed

1) exception:

 

AAPT err (1118615418): ERROR: 9-patch image missing marked region found along edge. Found along left edge Crunrhing Cruncher icon_item_bottom_line.9.png failed see logs 2) cause:

 

Error message: No marked region found along edge. (The AAPT tool cannot confirm the stretch area in the 9-patch image)

Because the android 9-patch image (for example) is created)

At that time, the image only marked the vertical stretch (left side) area, but not the horizontal stretch (top) area,

Therefore, AAPT cannot confirm the stretch area in the 9-patch image.

9-patch image (.9.png) to take effect, you need to mark the area horizontally and vertically along the edge (left & top)

 

Related Articles:

Http://stackoverflow.com/questions/4280398/9-patch-image-error-in-android

Http://stackoverflow.com/questions/3733471/android-9-patch-png-what-if-i-need-smth-like-a-11-patch-png

 

I wish you every day

 

// Please wait until then // zookeeper // zookeeper without any bugs! // Zookeeper has been completed before // zookeeper has been executed before being executed ┛ ┗ ┻ ┛

Related Article

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.