The ShowAsAction attribute is entered in api 11. Change the minSdkVersion of your application in the manifest file.
If you want to use it for api below 11, you need to use the android support library "android.support.v4.app".
login.xml. , " : showAsAtion" " yourapp: showAsAction" "yourapp" .
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
yourapp:showAsAction="never"
android:title="@string/action_settings"/>
</menu>