【问题标题】:wont run without Google Play services没有 Google Play 服务将无法运行
【发布时间】:2017-02-23 19:12:11
【问题描述】:

代码构建并运行,但我遇到如下 Google Play 服务问题。我不知道我错过了什么。我正在使用 Xamarin Android Player (XAP) 模拟器。

在参考中

【问题讨论】:

  • 您使用的设备需要有google play服务。模拟器可能不支持 google play 服务
  • Xamarin Android Player (XAP) 已弃用,并且默认图像中不包含 Google Store/Play/etc...,因为只有官方许可的模拟器图像才允许包含 Google 应用程序 (GApps)。事后可以下载在此类图像上安装 GApps,但您最好使用带有 Intel HAXM 的官方 Google Android x86 AVD 和包含官方 GApps 的图像...developer.xamarin.com/guides/android/getting_started/…

标签: android xamarin xamarin.android


【解决方案1】:

Xamarin Android Player 前段时间已弃用,因此我们不建议再使用它,因为它将不再更新。

话虽如此,我们这里确实有一些旧说明可能有助于解决这个问题:https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator

XAP 的动机之一是让拥有一个性能良好的模拟器变得容易。展望未来,我们建议使用来自 Google 的 AVD,这要归功于 HAXM:https://developer.xamarin.com/guides/android/getting_started/installation/accelerating_android_emulators/

【讨论】:

  • x86/x64 图像已经存在很长时间了,还有 HAXM。这不是最近才发生的事情。开发人员还没有被告知。我认为第一张图片出现在 2014 年左右。
猜你喜欢
  • 2023-03-21
  • 2021-12-10
  • 1970-01-01
  • 2015-08-14
  • 1970-01-01
  • 1970-01-01
  • 2017-08-10
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多