【发布时间】:2014-07-07 20:03:32
【问题描述】:
当我在使用过时的设备上测试过的设备时,我及时用新的谷歌地图实现了一个应用程序。当我使用新的 Google Play 服务作为依赖库项目在 Eclipse 上构建 apk 时,它工作正常(如 Google Play services out of date. Requires 3025100 but found 2012110 所述)。但是,当我用 Android.mk 和 google-play-services.jar 作为由脚本应用程序构建的 LOCAL_STATIC_JAVA_LIBRARIES 构建 apk 时,会崩溃并且 GooglePlayServicesUtil 抛出错误:
Google Play services out of date. Requires 4452000 but found 4034530
正如预期的那样,以下陈述是正确的:
GooglePlayServicesUtil.isGooglePlayServicesAvailable(context) == ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED
是否可以使用 adb 更新设备上的 Google Play 服务(无法将设备直接连接到 Internet)?或者也许还有其他合适的解决方案?
【问题讨论】:
标签: android google-maps adb google-play-services