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

  • 相关阅读:
    Installing Apache Spark on Ubuntu 16.04
    基尼系数(Gini coefficient),洛伦茨系数
    非平衡数据机器学习
    FCM聚类算法介绍
    基于大数据技术的手机用户画像与征信研究
    归一化方法 Normalization Method
    区块链(Blockchain)
    统计抽样
    动态规划 Dynamic Programming
    LTE中的各种ID含义
  • 原文地址:https://www.cnblogs.com/123ing/p/3861853.html
Copyright © 2011-2022 走看看