Android模拟器无法与Xamarin/Visual Studio Mac一起使用 [英] Android Emulator not working with Xamarin / Visual Studio Mac

查看:245
本文介绍了Android模拟器无法与Xamarin/Visual Studio Mac一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很难在我的Mac上运行Android模拟器.我需要采取什么步骤才能使其正常工作?

Hi i'm really struggling to get the Android emulator running on my Mac. What are the steps I need to take to get this working?

我在MacOS Catalina上拥有Visual Studio 2019

I've got Visual Studio 2019 on MacOS Catalina

这是在一个新的空白Xamarin Forms项目上

This is on a new blank Xamarin Forms project

我尝试进入工具">设备管理器">新设备". Pixel 3 XL,x86_64,Q 10.

I've tried to go Tools > Device Manager > New Device. Pixel 3 XL , x86_64, Q 10.

我一直收到此消息:

Android仿真器组件不完整,因此无法创建设备Pixel 3 XL Q 10.0-API 29.您要我们重新安装Android模拟器吗?

Android emulator component is incomplete therefore the device Pixel 3 XL Q 10.0 - API 29 could not be created. Do you want us to reinstall the Android Emulator?

我单击了按钮以重新安装android模拟器,但是它不起作用.

I've clicked the button to reinstall the android emulator but it doesnt work.

也尝试在OS 8.1上并将处理器设置为x86-所有组合均给出类似的错误消息

Also tried with OS 8.1 and setting processor as x86 - all the combinations give a similar error messages

当我转到工具">"SDK管理器"时,将在下面打勾:

When i go to Tools > SDK Manager, the following are ticked:

Android 10.0-Q

  • Android SDK平台29
  • 英特尔x86 Atom_64系统映像
  • Google API英特尔x86 Atom_64系统映像
  • Google API Intel x86 Atom系统映像

与9.0、8.1、7.1、7.0、6.0类似

Similar for 9.0, 8.1, 7.1, 7.0, 6.0

版本详细信息 -版本为8.6.2(内部版本6)

Version details - Version is 8.6.2 (build 6)

  • Android SDK Manager

  • Android SDK Manager

  • 版本:16.6.0.50
  • 哈希:5901879
  • 分支:remotes/origin/d16-6
  • 构建日期:2020-04-30 04:01:22 UTC

Android设备管理器

Android Device Manager

  • 版本:16.6.0.95
  • 哈希:45d17b5
  • 分支:remotes/origin/d16-6
  • 构建日期:2020-04-30 04:01:42 UTC

Xamarin.Android

Xamarin.Android

  • 版本:10.3.1.4(Visual Studio社区)
  • 提交:xamarin-android/d16-6/3a10de9

Android SDK:/Users/user/Library/Developer/Xamarin/android-sdk-macosx

Android SDK: /Users/user/Library/Developer/Xamarin/android-sdk-macosx

  • 6.0(API级别23)
  • 7.1(API级别25)
  • 8.0(API级别26)
  • 8.1(API级别27)

推荐答案

我最终下载了Android Studio,然后从那里运行安装程序,然后最终回到VS Mac并安装了模拟器设备-似乎可以正常工作.

I ended up downloading Android Studio, then running the installers from there and then finally went back to VS Mac and installed an emulator device - that seemed to work.

这篇关于Android模拟器无法与Xamarin/Visual Studio Mac一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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