Visual Studio Preview 2015 is missing “VS Emulator Android Phone”

旧巷老猫 提交于 2019-12-24 03:04:13

问题


Being exited with the new release of VS preview I downloaded and installed it.

I wanted to try out the new Android Emulator and created a new Cordova project. I was expecting similar choices listed in this screenshot:

However I was only presented with the first five (Device, Android Emulator, Ripple ...) but missing VS Emulator Android Phone and VS Emulator Android Tablet.

If I try to run the application using option "Android Emulator" I get the following error in the output console:

2>    WARNING : no emulator specified, defaulting to MonoForAndroid_API_10
2>  Waiting for emulator...
2>  emulator: ERROR: This AVD's configuration is missing a kernel file!!

Should the Android Emulator be included in the VS 2015 Preview release, or do I have to install something else?


回答1:


The Microsoft Visual Studio Emulator for Android is installed by a secondary installer that should pop up after installing Microsoft Visual Studio 2015 Preview. There should have been an item in that list that needed to be checked.

If you can verify in Add/Remove Programs that "Microsoft Visual Studio Emulator for Android" is installed and that you are running Windows 8/8.1 Pro 64-bit or better, that would be appreciated. The Microsoft Visual Studio Emulator for Android requires Hyper-V to be installed on the machine.

It also looks like by the error you provided that you may be missing some items in your Android SDK installation. Please go to C:\Program Files (x86)\Android\android-sdk and run SDK Manager.exe as administrator and ensure that under Android 4.4.2 (API 19), both the ARM EABI v7a System Image and the Intel x86 Atom System Image are installed as well as the SDK Platform. Those are necessary for the default Google Emulator

Thanks

--Pierson



来源:https://stackoverflow.com/questions/26907629/visual-studio-preview-2015-is-missing-vs-emulator-android-phone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!