没有资源的发现,匹配给定的名字:ATTR“机器人:actionModeShareDrawable”机器人、名字、发现、资源

2023-09-07 04:59:53 作者:相爱分开就是罪

一切,我尝试同步摇篮这个错误出现。我使用SDK的21岁,我已经安装了所有的更新。我试图删除Value.xml,清洁的摇篮,同步并试图改变SDK版本。仍然是上来了。

这里是哪里出了问题。

C:\Users\User\AndroidStudioProjects\MyApplication\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v11\values.xml 错误:(36 21)否资源发现,匹配给定的名字:ATTR机器人:actionModeShareDrawable。 错误:(36 21)否资源发现,匹配给定的名字:ATTR机器人:actionModeShareDrawable。 错误:(36 21)否资源发现,匹配给定的名字:ATTR机器人:actionModeShareDrawable。 错误:(36 21)否资源发现,匹配给定的名字:ATTR机器人:actionModeShareDrawable。     错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Body1。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Body2。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Button。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Caption。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Display1。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Display2。 错误:错误检索父项:未发现的资源匹配给定名称机器人:TextAppearance.Material.Display3。

如果您希望该项目看给我留言。 我真的新的Andr​​oid工作室。香港专业教育学院重建应用程序还。

解决方案

您需要确保所有的模块都支持库的依赖也已编译的SDK设置为21,所以还是项目结构并检查所有的模块上的左手侧。

dota2 点击匹配没有反映.朋友邀请了也不能匹配

Everything i try to sync Gradle this error comes up. I am using SDK 21 and I have all updates installed. I tried deleting the Value.xml, cleaning the Gradle, syncing it and trying to change the SDK version. and still it come up.

here is what goes wrong

C:\Users\User\AndroidStudioProjects\MyApplication\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v11\values.xml
Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
    Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'.

If you would like the project to see give me a message. Im really new to android studio. Ive rebuild the app also.

解决方案

You need to make sure all your modules that have the support library as dependency also have the compile SDK set to 21. So go to Project Structure and check all the modules on the left hand side.

 
精彩推荐
图片推荐