简体   繁体   English

Android Studio:未找到与给定名称匹配的资源:attr'android:actionModeShareDrawable'

[英]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.

相关问题 找不到与给定名称匹配的资源:attr'android:actionModeShareDrawable' - No resource found that matches the given name: attr 'android:actionModeShareDrawable' appcompat-v7:21.0.0':找不到与给定名称匹配的资源:attr'android:actionModeShareDrawable' - appcompat-v7:21.0.0': No resource found that matches the given name: attr 'android:actionModeShareDrawable' 找不到与给定名称匹配的资源:即使我使用的是appcompat 20,attr android:actionModeShareDrawable - No resource found that matches the given name: attr android:actionModeShareDrawable even though I'm using appcompat 20 找不到与给定名称匹配的资源:具有compileSdkVersion 21的attr'android:actionModeShareDrawable'appcompat-v7:21.0.0 - No resource found that matches the given name: attr 'android:actionModeShareDrawable' appcompat-v7:21.0.0 with compileSdkVersion 21 错误未找到与给定名称匹配的资源:Android Studio中的attr'borderWidth' - Error No resource found that matches the given name: attr 'borderWidth' in Android Studio Android Studio:找不到与给定名称匹配的资源:attr'searchViewTextField' - Android Studio: No resource found that matches the given name: attr 'searchViewTextField' Android Studio - 错误:找不到与给定名称匹配的资源:attr'metaButtonBarButtonStyle' - Android Studio - Error: No resource found that matches the given name: attr 'metaButtonBarButtonStyle' 找不到与给定名称匹配的资源:attr'android:elevation' - No resource found that matches the given name: attr 'android:elevation' 找不到与给定名称匹配的资源:attr'android:windowTranslucentNavigation' - No resource found that matches the given name: attr 'android:windowTranslucentNavigation' 找不到与给定名称匹配的资源:attr'android:keyboardNavigationCluster' - No resource found that matches the given name: attr 'android:keyboardNavigationCluster'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM