[英]How can i add Android Device under V4.4 to visual studio 2017 emulator Xamarin
Hi i need to run my app on android 4.0.3 device and i downloaded them from vs sdk manager 嗨,我需要在android 4.0.3设备上运行我的应用程序,然后我从vs SDK Manager下载了它们
but when i want to create a new device 4.0.3 version , in the Os list is not displayed. 但是当我要创建新设备4.0.3版本时,不会显示Os列表。
how can i create a device other than default device ? 我如何创建默认设备以外的设备?
How can I add Android Device under V4.4 to visual studio 2017 emulator Xamarin
如何将V4.4下的Android设备添加到Visual Studio 2017模拟器Xamarin
As @FabriBertani said, you could try use Genymotion instead. 正如@FabriBertani所说,您可以尝试使用Genymotion 。 But when I use Genymotion on my side, I could only create the emulator that version is higher than 4.1.1 :
但是当我一边使用Genymotion时, 我只能创建版本高于4.1.1的仿真器 :
i want to create a new device 4.0.3 version
我想创建一个新的设备4.0.3版本
So if you need to create an android 4.0.3 version simulator, I still recommended you to use the Android Studio , the Official IDE for Android. 因此,如果您需要创建android 4.0.3版本模拟器,我仍然建议您使用Android Studio ( Android的官方IDE)。 It will be quite simple to create such a simulator.
创建这样的模拟器将非常简单。
When you install Android Studio, you could you could use the already installed Android SDK
, because there's no need for you to download it again. 安装Android Studio时,可以使用已安装的
Android SDK
,因为不需要再次下载它。 I have written an answer about it and I write it here again: 我已经写一个答案是 ,我在这里再写一遍:
File
-> Project Structure
File
-> Project Structure
C:\\Program Files (x86)\\Android\\android-sdk
, you could find it in VS : Tools -> Options -> Xamarin -> Android Settings
C:\\Program Files (x86)\\Android\\android-sdk
,您可以在VS中找到它: Tools -> Options -> Xamarin -> Android Settings
CMD
as Administrator and type: mklink /JC:\\Program-Files-(x86) "C:\\Program Files (x86)"
, like this . CMD
并输入: mklink /JC:\\Program-Files-(x86) "C:\\Program Files (x86)"
,如下所示 。 In Android Studio, click Tools
-> AVD Manager
-> Create Virtual Device
-> choose a device definition -> click Next
: 在Android Studio中,单击
Tools
-> AVD Manager
-> Create Virtual Device
->选择设备定义->单击Next
:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.