Android Studio : No resource found that matches th

2019-09-05 21:28发布

问题:

I added Google Maps Activity to my app but I keep getting this error

No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

I found this link and tried to apply the same solution but it did not work and I still get the same error

appcompat-v7:21.0.0': No resource found that matches the given name: attr 'android:actionModeShareDrawable'

Anyone can help?

回答1:

I found the answer for this

The AppCompat library was already installed but the App was compiling under Android 19 which cases this issue

to resolve this I compiled under Android 21