我正在为GCM尝试自定义cordova插件。我在项目的libs文件夹中包含了最新 google-play-service.jar,在AndroidMenifest.xml中包含了<meta-data android:name="com.google.android.gms.version" android:value="5089000" />
。但仍面临这个问题...
E/GooglePlayServicesUtil( 2808): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
W/GooglePlayServicesUtil( 2808): Google Play services out of date. Requires 5089000 but found 4452030
我正在开发phonegap上的android应用程序。我在控制台窗口中发现了此错误消息。 我应该遵循这个Install the Google Play services SDK,但没有找到任何 build.gradle 和 proguard-rules.txt
任何人都可以说实际的原因吗?如何以适当的方式在我的phonegap项目中添加google-play-service?请帮我。我很期待很快收到你的来信。谢谢。
答案 0 :(得分:2)
E/GooglePlayServicesUtil( 2808): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
这个问题已经解决了。解决方案已在此处找到Cordova build problems after import google play service 即使在libs文件夹中添加了google-play-service.jar,我的phonegap项目也缺少Google Play服务资源。所以我不得不配置phonegap项目。步骤是(从链接复制)......
答案 1 :(得分:0)
您的logcat输出显示您已安装过时的版本。您正在关注2014年3月的博客文章,也许您应该尝试官方文档。
http://developer.android.com/google/play-services/setup.html