as the title suggest, I\'m getting that error in at least 3 of the XML layout files, however, I dont see the attritube \"showsAsAction\" in any of those XML files, did I miss so
I had this problem when I forgot to add appcompat-v7:+ to my project dependencies. You can do it like this in build.gradle:
dependencies {
compile 'com.android.support:appcompat-v7:+'
}
And this is because I had the following in my menu.xml:
xmlns:app="http://schemas.android.com/apk/res-auto"
and
app:showAsAction="never"
When I removed the xmlns:app namespace and just used android:showAsAction="never"
, I didn't need the appcompat-v7 library anymore.