我正在使用Xamarin Android在VS2012中为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').
这些都出现在
Components\googleplayservicesgingerbread-16.0.0.1\lib\android\16\content\google-play-services\libproject\google-play-services_lib\res\drawable\common_signin_btn_text_light.xml
我不确定是什么原因导致这些错误突然出现,因为我使用这个组件已经有一段时间了。我也不知道如何摆脱它们。
我的项目编译使用的是Android版本2.3,API级别10。最小目标也是v2.3 API级别10,并且目标版本设置为v4.4 API 19。