您的位置:首页 > 移动开发 > Android开发

ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing

2016-08-24 17:52 597 查看
当用Eclipse编写Android app 时,sdk从低版本切换到高版本sdk的时候, v7包可能会报下面这个错误:

ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing



网上找到了解决方法,试了一下,确实可行:

     点击V7包找到values文件夹,打开attrs.xml,找到 MenuView ,然后将preserveIconSpacing注释掉或者删掉,保存。最后, clean一下就行了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android sdk v7 error MenuView
相关文章推荐