"No resource identifier found for attribute 'showAsAction' in package 'android'" "No resource identifier found for attribute 'showAsAction' in package 'android'" android android

"No resource identifier found for attribute 'showAsAction' in package 'android'"


If you are building with Eclipse, make sure your project's build target is set to Honeycomb too.


remove android:showAsAction="never" from res/menu folder from every xml file.


all above fix may not work in android studio .if you are using ANDROID STUDIO...... use this fix

add

xmlns:compat="http://schemas.android.com/tools"

in menu tag instead of

xmlns:compat="http://schemas.android.com/apk/res-auto"

in menu tag.