android studio no marked region found along edge Found along top edge

由于种种原因,导致9图已经不是9图格式了,但是在Eclipse里面不会报错,在android studio 里面会报错

Error:9-patch image D:\download\avatar-android-master\avatar-android-master\sample\src\main\res\drawable-hdpi\abc_list_divider_holo_dark.9.png malformed.

           Image must be at least 3x3 (1x1 without frame) pixels.

:sample:mergeDebugResources FAILED

==

经常反编译的同学应该对这个问题习以为常了。

解决办法就是,要从新用工具画黑线。

android studio 也方便直接作图就可以。

android studio no marked region found along edge Found along top edge

上面那个是错误,

必须得黑线

android studio no marked region found along edge Found along top edge

画线也有技巧,你把鼠标移到边角上当 箭头 变成  <——>  时点击一下 就可以了。

你可能感兴趣的:(android studio)