如何更新谷歌通过亚行播放服务? [英] How to update Google Play Services through adb?

查看:333
本文介绍了如何更新谷歌通过亚行播放服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在实施的时间用新鲜的谷歌地图应用程序时,设备我测试过它使用了过时的。而我曾经在Eclipse构建APK新鲜的谷歌Play服务,因为依赖库项目(因为<所描述的,它工作正常href=\"http://stackoverflow.com/questions/15156301/google-play-services-out-of-date-requires-3025100-but-found-2012110\">Google播放服务已经过时了。需要3025100却发现2012110 )。但是,当我已经建立APK是 Android.mk 的Google Play-services.jar LOCAL_STATIC_JAVA_LIBRARIES 的由脚本程序是建造崩溃,< STRONG> GooglePlayServicesUtil 抛出一个错误:

I have implemented an application with fresh Google Maps in time when device I've tested it on uses outdated one. It works fine while I used to build apk on Eclipse with fresh Google Play Services as dependency library project (as described there Google Play services out of date. Requires 3025100 but found 2012110). But when I have built apk with Android.mk with google-play-services.jar as LOCAL_STATIC_JAVA_LIBRARIES builded by the script application is crashed and GooglePlayServicesUtil throws an error:

Google Play services out of date.  Requires 4452000 but found 4034530

由于它的预期下面的语句是正确的:

As it's expected the following statement is true:

GooglePlayServicesUtil.isGooglePlayServicesAvailable(context) == ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED

是否有可能更新谷歌播放服务的设备上是亚行(这是无法将设备连接dirrectly互联网)?或者,也许有另一种合适的解决方案?

Is it possible to update Google Play Services on the devices with adb (it's unable to connect the device to Internet dirrectly)? Or maybe there is another suitable solution?

推荐答案

解决的办法很简单。你必须安装简单的谷歌播放Services.apk 这(52年4月4日版)是这里psented $ P $:<一href=\"http://www.xda-developers.com/android/apk-compendium-google-play-services-4-4-52-for-all-densities-and-the-rest-of-this-weeks-updates/\"相对=nofollow> [APK纲要]谷歌播放服务52年4月4日为所有密度,其余本周的更新的。

The solution is easy. You have to simple install Google Play Services.apk which (version 4.4.52) is presented here: [APK Compendium] Google Play Services 4.4.52 for All Densities, and the Rest of This Week’s Updates.

java.lang.NoClassDefFoundError的:com.google.android.gms.R $设置样式趁现在我想夸大地图布局的XML,但这个问题出关的话题。

I have java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable now while I'm trying to inflate maps layout xml but this issue is out off topic.

这篇关于如何更新谷歌通过亚行播放服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆