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?
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
Related
for some reason, I don't want to install android studio(one of them is I don't have enough space for now) but instead, I want to work with vscode and nox(or genymotion). and my question is: Is it possible to connect vscode and an (android and ios) emulator to see the result? in other words, I want to connect the nox as an emulator to vscode and see the result inside of it.
Android studio take too much space and even my computer also become hot when open Android studio. But what I did I installed Android studio and Android emulator but I don't use Android studio rather I use VScode.
So as far as I know you need Android studio to install emulator then you can use VScode with it.
Finally, I found out how I can connect Genymotion to the VS Code(without Installing Android Studio).in total SDK manager wasn't installed on my laptop, so at first, I installed it. and then
Platform Tools (ADB & Fastboot)
Install Platform
Add System Image
Install Build Tools
but wait I just name the steps I've done. you can follow this article on this link to get more details.
and finally, instead of installing an emulator, I used Genymotion with Flutter in VS Code, which you can follow in this article to get more information. Click here
Fix for this?
I have installed Android Studio SDK and I have an AVD file installed so whats the fix?
[2]: https://i.stack.imgur.com/Hu09W.png
Install flutter and dart plugin for android studio
android studio
try to run emulator or connect to real device via USB (make sure you enable developer mode enable in real device)
I wanted to test out the Visual Studio Emulator for Android, so I grabbed an example project (https://code.msdn.microsoft.com/hello-jni-Android-790ab73d#content). Unfortunately, I can only select 'No devices available' respectively 'Android Virtual Device Manager" under Target Device.
When I start the emulator from the menu (Extras - Visual Studio Emulator for Android), it works fine - Visual Studio just somehow can't see it.
I tried to restart VS while the Emulator was running, but that also didn't help.
adb devices -l correctly lists the running emulator, btw.
Does somebody have any idea what could be wrong?
I had the same type of issue on my environment. I checked registry key "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Android SDK Tools" location and "Android SDK Tools" Key didn't exist. I created the Key and add String Value called Path and I provided Android SDK Tools path. It solved my issue. It is worth to shot.
Turns out I didn't get the message that the emulator only supports the debugging of x86 images - I changed the target platform to x86 and now it is working.
(Btw, I very quickly got the answer from a friendly Microsoft Employee after I sent them an email - Worth mentioning, I'd reckon)
I wanted to create an android app. Therefore I installed Eclipse IDE and installed other required SDK packages. But when I tried installing HAXM emulator my system did not support the virtualisation technology. Is there any other emulator that I can use or is there any way that I can create an android app online and run it online.
Try the Visual Studio Emulator for Android if you're on a PC. It's a fast, x86, Hyper-V emulator and comes free with Visual Studio 2015 (you can try out CTP5 here)
I have created a blank Android Native C++ project using Visual Studio 2015 Preview. When I click to run it on the emulator, the emulator will load but I always get the following error and cannot run the app on the emulator.
3>Starting emulator...
3>Error installing the package. The device '169.254.191.177:5555' is invalid or not running. Please switch to another device, or use the Android Virtual Device (AVD) Manager to start a compatible emulator, or connect a compatible Android device.
3>The device is invalid or is not running.
Would this be because I have the Windows Phone emulator installed ? I havnt done anything except install Visual Studio 2015, create project, and run.
Short answer: you need to use "adb connect 169.254.191.177:5555"
Long answer:
Visual Studio 2015 Android Emulator issue
This is not likely to be a result of having the Windows Phone Emulator installed. More likely is that there is a problem with the connection between the VS Android Emulator and Visual Studio. Repairing your VS and VS Emulator for Android installations by going to Control Panel > Programs and Features may resolve this.