【问题标题】:Difference between Google API intel x86 atom and Google Play intel x86 atom sytem imageGoogle API intel x86 atom 和 Google Play intel x86 atom 系统镜像的区别
【发布时间】:2018-01-21 16:50:39
【问题描述】:

在使用 Android Studio 下载 Android 8.0 sdk 平台时,我看到了这两个系统映像。

  1. Google API intel x86 atom 系统映像
  2. Google Play 英特尔 x86 atom 系统映像

这两者有什么区别?

【问题讨论】:

  • IIRC,第二个带有 Play 商店和 Google 专有应用程序,但有很大的限制(例如,没有 root 访问权限)。
  • 使用 Google Play intel x86 atom sytem image ,我们将拥有 play store 并能够在模拟器上安装应用程序?

标签: android


【解决方案1】:

基于文档:

标有 Google API 的系统映像包括对 Google Play 服务的访问。 Play 商店列中标有 Google Play 徽标的系统映像包括 Google Play 商店应用程序和对 Google Play 服务的访问,包括扩展控件对话框中的 Google Play 选项卡,该选项卡提供了用于更新设备上的 Google Play 服务的便捷按钮.

为确保应用安全和物理设备的一致体验,包含 Google Play 商店的系统映像使用发布密钥进行签名,这意味着您无法使用这些映像获得提升的权限 (root)。如果您需要提升权限 (root) 来帮助您解决应用问题,您可以使用不包含 Google 应用或服务的 Android 开源项目 (AOSP) 系统映像。

希望对你有所帮助。

【讨论】:

    【解决方案2】:

    缺少所有答案:如果您使用 Google 的计费库,您需要Google Play 图片”进行测试。这与安装应用程序无关,但您需要安装 Play 商店来测试您的“应用程序内”购买和订阅产品。 否则你会从BillingClient得到这个错误:

    Billing service unavailable on device
    

    【讨论】:

      【解决方案3】:

      “Google API”图像包括许多应用依赖但没有 Play 商店应用的 Play services

      “Google Play”图片包括 Play 商店应用和Play services

      谷歌的描述见Create and manage virtual devices | Android Developers

      【讨论】:

        【解决方案4】:

        Google API 系统映像和 Google Play 系统映像的主要区别主要在于各自是否能够直接访问 Google Play 商店。 Here is 了解更多关于此事的解释。

        希望,可以帮助他人。

        【讨论】:

          【解决方案5】:

          播放映像已安装 Google Play 商店,您可以安装应用程序,但没有 root 访问权限,因为它是生产版本而不是调试版本。

          【讨论】:

          • 没有root访问权限对开发人员来说有什么缺点?为什么我需要它?
          • 我无法打开 Debug on Play image (#2) 也无法通过 Android Studio 运行 & deeploy 应用程序到基于 Play image 的实例 (#2)
          • 但是为什么我不能选择它,在 AVD 中只有 Google API 可用于模拟器,我已经使用 SDK 管理器下载了 Google Play 图像,但它在 ADV 管理器中不可见...
          • 这是否意味着其他人也安装了 Google Play 但具有 root 访问权限?!
          猜你喜欢
          • 1970-01-01
          • 2019-04-21
          • 1970-01-01
          • 1970-01-01
          • 2019-05-19
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2014-04-15
          相关资源
          最近更新 更多