Android的工作室:没有资源的发现,给定的名称匹配:ATTR'机器人:actionModeShareDrawable“ [英] Android Studio : No resource found that matches the given name: attr 'android:actionModeShareDrawable'

查看:320
本文介绍了Android的工作室:没有资源的发现,给定的名称匹配:ATTR'机器人:actionModeShareDrawable“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了谷歌地图的活动给我的应用程序
但我不断收到此错误

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

没有资源发现给定的名称匹配:ATTR'机器人:actionModeShareDrawable。

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

<一个href=\"http://stackoverflow.com/questions/26431676/appcompat-v721-0-0-no-resource-found-that-matches-the-given-name-attr-andro\">appcompat-v7:21.0.0':没有资源的发现,给定的名称匹配:ATTR'机器人:actionModeShareDrawable'

任何人都可以帮忙吗?

推荐答案

我发现这个答案

该应用程序兼容性库已安装
但应用程序的Andr​​oid是19岁以下编译哪些情况下这个问题

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

要解决这个我Android的21岁以下编译

to resolve this I compiled under Android 21

这篇关于Android的工作室:没有资源的发现,给定的名称匹配:ATTR'机器人:actionModeShareDrawable“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆