2013-10-28 56 views
2

我想GOOGLEPLAY排行榜和成就添加到我的Unity3D插件,但不断收到错误:Unity3D插件 - 谷歌的播放均未发现服务资源

........ D/dalvikvm(6052): VFY: replacing opcode 0x60 at 0x003f W/dalvikvm(6052): VFY: unable to resolve static field 1854 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string; D/dalvikvm(6052): VFY: replacing opcode 0x60 at 0x0046 W/dalvikvm(6052): VFY: unable to resolve static field 1851 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string; D/dalvikvm(6052): VFY: replacing opcode 0x60 at 0x0066 W/dalvikvm(6052): VFY: unable to resolve static field 1848 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string; D/dalvikvm(6052): VFY: replacing opcode 0x60 at 0x006d W/dalvikvm(6052): VFY: unable to resolve static field 1846 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string; D/dalvikvm(6052): VFY: replacing opcode 0x60 at 0x0074 W/dalvikvm(6052): VFY: unable to resolve static field 1850 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; D/dalvikvm(6052): VFY: replacing opcode 0x60 at 0x000c E/GooglePlayServicesUtil(6052): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. D/GooglePlayServices(6052): onSignInFailed ......

据我所知iv'e一切正确。将“google-play-services_lib”项目添加到我的原生Java eclipse项目中,并将其添加为“参考”,将“google-play-services.jar”添加到该项目和Unity插件文件夹中。我还设置了“google-play-services.jar”来导出它的条目,并可以在我的“R.txt”文件中看到条目在那里。

+0

仅供参考服务仍然工作...愚蠢的谷歌API ... – zezba9000

回答

0

将完整的Google Play服务库项目($ android-sdk/extras/google/google_play_services/libproject/google-play-services_lib)复制到Unity Plugins/Android文件夹。

+0

我已经做到了。即使它仍然有效,也会发生相同的错误。因为一切工作都没有什么大不了的,只是很奇怪。 – zezba9000