android项目中使用9-patch图编译报错:AAPT: error: file failed to compile. 原因是因为.9.png图中有线之间断开或者黑点的存在,把线连上或者把黑点去掉就可以了。如下: