错误 :Error:(3, 58) No resource found that matches the given name (at 'drawable' with value '@drawable/mm_listitem_pressed.9.png').
报错的地方:在eclipse中正常编译的,而在android studio中却不行,而这个文件也是从eclipse中复制过来的,仔细查看了,发现多了文件名称后缀
“.9.png” android studio 自动添加进去的
解决方法:去掉后缀.9.png即可
R文件中也是这么定义的
public static final int mm_listitem_pressed=0x7f02012a;