When you run a project in a Menu.xml file, the Item property android:showasaction error No Resource identifier found for attribute ' showasaction ' on package ' a Ndroid '
Google, the Foreigner said is the version of the problem, Showasaction was added in the API level 11 to increase the API to 11, add "android-support-v7-appcompat.jar" To the Android library (Private Libraries)
Android:showasaction = "Never"
When your application target is set to a hive platform, you can make use of all the features provided by the Action Bar to place your Options menu item in the upper-right corner of the action Bar, which is more convenient for the user, and the main menu item property that controls the behavior is android:showasaction.
The acceptable values for this property are:
1. Always: This value causes the menu item to be displayed on the action bar.
2. Ifroom: If there is enough space, this value causes the menu item to appear on the action bar.
3. Never: This value causes the menu item to never appear on the action bar.
4. Withtext: This value causes the menu item to be displayed along with its icon and the text of the menus.
However, this high version is not used here, so it is OK to delete this property here.
No resource Identifier found for attribute ' showasaction ' on package ' Android '