Android Studio pictures error 9-patch image error in Android
Error:9-patch image xx. 9.png Malformed
1) Exception:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "/>
AAPT Err (1118615418): Error:9-patch image icon_item_bottom_line.9.png MalformedNo marked region Found along edge. Found along left edge
Crunrhing Cruncher Icon_item_bottom_line.9.png failed See logs
2) Reason:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center "width=" 480 "height=" 480 "/>
Error message: No marked region found along edge. ( the AAPT tool cannot confirm the stretch area in the 9-patch picture )
because make the Android 9-patch picture (e.g.)
The picture was simply marked with a vertical stretch ( left side) area , without marking the horizontal stretch ( Upper ) area,
Therefore AAPT cannot confirm The stretch area of the 9-patch picture.
9-patch pictures (. 9.png) If you want to take effect, you need to have horizontal and vertical edge marking area (left & top)
Related 9-patch production references:
Http://www.cnblogs.com/loulijun/archive/2011/12/22/2298087.html
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 daily diligence
┏┓┏┓//┏┛┻━━━┛┻┓//┃┃//┃━┃//┃┳┛┗┳┃//┃┃//┃┻┃//┃┃//┗━┓┏━┛// ┃┃ god of animal protection Woo// ┃┃ Code no bug! ┃┗━━━┓// ┃┣┓// ┃┏┛// ┗┓┓┏━┳┓┏┛// ┃┫┫┃┫┫// ┗┻┛┗┻┛
Android Studio picture Error:9-patch image xx. 9.png Malformed