相关疑难解决方法(0)

找不到与common_signin_btn_icon_dark.xml中的给定名称匹配的资源

我正在使用VS2012中的Xamarin Android为Android开发MonoGame应用程序(C#).一切都进展顺利然后在特定的构建中我突然开始得到4个类似的错误,没有明显的原因.这些错误都源自Xamarin组件商店中的Google Play组件:

No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_icon_disabled_focus_dark').
No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_icon_disabled_focus_light').
No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_text_disabled_focus_dark').
No resource found that matches the given name (at 'drawable' with value '@drawable/common_signin_btn_text_disabled_focus_light').
Run Code Online (Sandbox Code Playgroud)

这些都发生在

组件\ googleplayservicesgingerbread-16.0.0.1\LIB\Android版\ 16 \内容\谷歌播放服务\ libproject \的Google Play-services_lib \水库\绘制\ common_signin_btn_text_light.xml

在我使用这个组件一段时间之后,我不确定是什么触发了这些错误突然弹出.我也不知道如何摆脱它们.

我的项目使用Android版本2.3,API级别10进行编译.最小目标也是v2.3 API级别10,目标版本设置为v4.4 API 19.

c# android monogame xamarin google-play-services

5
推荐指数
1
解决办法
3382
查看次数

标签 统计

android ×1

c# ×1

google-play-services ×1

monogame ×1

xamarin ×1