zoukankan      html  css  js  c++  java
  • resmenumain.xml:6: error: No resource identifier found for attribute 'showAsAction' in package 'com.xxx.xxxx'

    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'  

     
    2013-09-23 19:39提问者采纳
     
    (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

  • 相关阅读:
    Unieap3.5-Grid+Form下拉列表高度设置
    Unieap3.5-Grid翻页不提示修改
    Unieap3.5-需要用到window.setTimeout的地方
    Unieap3.5-前台js判断表单必录
    JavaScript空判断
    JavaScript字符串转日期格式
    Unieap3.5-前台js用SQL语句执行数据请求
    Unieap3.5-JS常用方法
    mysql之索引查询1
    mysql之多表查询和pymysql模块
  • 原文地址:https://www.cnblogs.com/123ing/p/3861853.html
Copyright © 2011-2022 走看看