简体   繁体   English

Phonegap [cordova 3.2.0]找不到Google Play服务资源

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

I have added google-play-services.jar into libs folder. 我已经将google-play-services.jar添加到libs文件夹中。 Eclipse does not see any errors in project. Eclipse在项目中看不到任何错误。 However i am using phonegap framework , so build happens somehow with ant. 但是我使用的是phonegap framework ,所以构建会以某种方式发生。 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 但在运行时中,我在logcat收到此错误:找不到Google Play服务资源检查您的项目配置,以确保包括资源
Anybody can help ? 有人可以帮忙吗? Thanks 谢谢

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 不用担心google play service v13版本存在错误,将在下一个版本中修复,请看截图,我的应用程序中也有相同的截图 堆栈跟踪

the problem was in linking . 问题出在链接上。 You should link google play services as project library instead of throwing jar in the libs. 您应该将Google Play服务链接为项目库,而不是将jar扔到库中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM