【问题标题】:Cannot upload new APK to Google Play because of Google Play services version由于 Google Play 服务版本,无法将新的 APK 上传到 Google Play
【发布时间】:2014-08-22 13:16:41
【问题描述】:
由于客户的意愿,我将 minSdk 设置为 8 (Froyo)。 Google Play 不允许我上传新的 .apk。它是这样说的:
警告
您上传的 APK 使用 Google Play 服务版本 4030500。这仅适用于 Android API 级别 9 及以上。除非您已将清单中的 minSdkVersion 设置为 9 或更高版本,否则不建议使用此 Google Play 服务版本。
是否有机会支持早于 Gingerbread 的版本?
提前致谢。
【问题讨论】:
标签:
android
google-play-services
android-2.2-froyo
google-play
【解决方案1】:
您必须使用旧版本的 Google Play 服务才能与 Froyo 兼容。
将您的 build.gradle 文件更改为:
compile 'com.google.android.gms:play-services:4.1.+'
ps.:但我强烈建议向客户解释 Froyo 已经死去,并且仍然拥有这些设备的用户通常只拨打电话和发短信。他们从不去 Google Play 下载新应用,因为他们的设备太旧,无法正常运行任何现代应用。