Phonegap [cordova 3.2.0] The Google Play services resources were not found

本秂侑毒 提交于 2019-12-13 21:19:48

问题


I have added google-play-services.jar into libs folder. Eclipse does not see any errors in project. However i am using phonegap framework, so build happens somehow with ant. When i am compiling i am not getting any problems:

cordova build
Generating config.xml from defaults for platform "android"
Preparing android project
Compiling app on platform "android" via command "cmd" /c C:\Users\kmoizik\Desktop\BTCproj\bbdebug\platforms\android\cordova\build
Platform "android" compiled successfully.

but in a runtime i got this error in logcat: The Google Play services resources were not found Check your project configuration to ensure that the resources are included
Anybody can help ? Thanks


回答1:


don't worry about this v13 of google play service is buggy and will be fixed in next release take a look at screenshot i'm having same in my app




回答2:


the problem was in linking . You should link google play services as project library instead of throwing jar in the libs.



来源:https://stackoverflow.com/questions/20443116/phonegap-cordova-3-2-0-the-google-play-services-resources-were-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!