Android调试错误-No resource identifier found for attribute 'showAsAction'

时间:2021-02-03 05:00:03

转载自:http://www.bubuko.com/infodetail-498830.html

1.问题描述:

24\YoumiAndroidSdk\demo\offers\res\menu\main.xml:3: error: No resource identifier found for attribute ‘showAsAction‘ in package ‘android‘

2.解决方案:

解决办法主要有两种途径:

1,修改可能的XML文件中错误;

2,Android SDK版本可能不对,从而使attribute ‘showAsAction‘等在低版本中得到不到支持。

Android调试错误-No resource identifier found for attribute 'showAsAction'