[英]Android Studio : No resource found that matches the given name: attr 'android:actionModeShareDrawable'
I added Google Maps Activity to my app but I keep getting this error 我已将Google Maps Activity添加到我的应用程序中,但一直出现此错误
No resource found that matches the given name: attr 'android:actionModeShareDrawable'. 找不到与给定名称匹配的资源: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' appcompat-v7:21.0.0':找不到与给定名称匹配的资源:attr'android:actionModeShareDrawable'
Anyone can help? 有人可以帮忙吗?
I found the answer for this 我找到了答案
The AppCompat library was already installed but the App was compiling under Android 19 which cases this issue 已经安装了AppCompat库,但是该App正在Android 19下编译,从而解决了此问题
to resolve this I compiled under Android 21 解决这个问题,我在Android 21下编译
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.