resmenumain.xml:6: error: No resource identifier found for attribute 'showAsAction' in package 'com.xxx.xxxx'
http://zhidao.baidu.com/link?url=q13h3rDTNOw0MfAQ4FE1GODb4Xe37q2ccz6PzBDg3HyQ5QU92Z0Mt0XwWmslAJ8zWbc5FszPUvXbOgaBtnxjt0YdUHPxCJv_KRIGMovsYZ7
http://www.iteye.com/problems/71287
http://zhidao.baidu.com/link?url=YHJXS45SPfgdUw_NIMe36zCw95-_j1b1KZbvoJuCudJKqUzq8zSG7eot4MukRfbyMAIlXuGzeAfcFLqPVg0XaYpl-23OheCaNuKoHLHknMq
[2013-09-23 19:18:54 - AppTabHost2] D:WorkDevelopDROID_WORKAppTabHost2 esmenumain.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
(introduced in API Level 11) 你要选API 11以上才可以用。
http://www.techques.com/question/1-5260686/No-resource-identifier-found-for-attribute-%27showAsAction%27-in-package-%27android%27
http://stackoverflow.com/questions/5260686/no-resource-identifier-found-for-attribute-showasaction-in-package-android
http://www.androiddiscuss.com/1-android-discuss/88739.html
http://www.myexception.cn/h/988711.html
main.xml
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.xxx.xxx.MainActivity" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never"/> 删掉了app:showAsAction="never" 这个 就编译通过了 不知道会有啥影响
</menu>
修改 app:showAsAction="never" 为 android:showAsAction="ifRoom|withText" 还是?app:showAsAction="ifRoom|withText"
或者按他的方式?
http://blog.sina.com.cn/s/blog_6aefcbed01013rpc.html
http://www.cnblogs.com/yandawang0522/articles/3066790.html
http://androidfaq.e1blue.net/android/status/77