如何在没有 hyper v 和模拟器的情况下使用 xamarin 开发 android 应用程序 [英] How to develop android apps with xamarin without hyper v and emulator

查看:33
本文介绍了如何在没有 hyper v 和模拟器的情况下使用 xamarin 开发 android 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 windows 10 家庭版和 Visual Studio 2017.我想用 xamarin 开发 android 应用程序.Hyper-V 功能在 Windows 10 家庭版上不可用,我买不起专业版,所以没有 hyper-v 模拟器不能安装.

开发安卓应用应该怎么做?

有没有人想在不使用模拟器和 hyper-v 的情况下部署 android 应用程序?

先谢谢你!

解决方案

可以在不使用模拟器的情况下开发 Xamarin 应用程序.但在这种情况下,您需要有一台 Android 设备来部署您的应用.

  • 在您的系统上设置 Android SDK 管理器.尽管 Xamarin 包括一个SDK Manager,您可以从以下链接下载.

    I am using windows 10 home and visual studio 2017. I want to develop android apps with xamarin. Hyper-V feature is not available on windows 10 home and I can not afford pro version, So emulator is not installing without hyper-v.

    What should I do to develop android app?

    Have anybody idea to deploy android app without using emulator and hyper-v?

    Thank you in advance!

    解决方案

    It's possible to develop Xamarin app without using the emulators. But in that case you'll need to have an Android device to deploy your app on.

    • Setup Android SDK Manager on your system. Although Xamarin includes a SDK Manager, you can download it from the following link. Android SDK Manager download

    • Setup the ADB (Android Debug Bridge) on your system (install Google USB Drivers)

    • Connect your Android device to the system after you enable USB Debugging(Developer options) on it. Once the device is connected it will give you a prompt to enable debugging. Tap yes and you'll see the option to build to your device as shown in image.

    这篇关于如何在没有 hyper v 和模拟器的情况下使用 xamarin 开发 android 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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