Visual Studio 2015 Cannot connect to Android Emulator - android-emulator

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.

Related

setup nox (or genymotion )as android emulator for vscode flutter

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

run an emulator without android studio

I'm using flutter on visual studio code and my android studio emulator doesn't work.
Is there a way I can run an emulator on visual studio code without android studio's help?
on android studio press shift twice then write device manger choose it then run the emulator
if this doesn't work can you provide more info about the error you get from android studio
I recommend that you run "flutter doctor" in your VS Code Terminal to determine any issues with your Android Studio and/or emulator. Then update your question with any errors that occur or simply write out the error you are getting from Android Studio when trying to start your emulator.
However, you won't have to use an emulator that is on Android Studio if you simply turn on Developer Mode/Options on your personal Android Device, then turn on "USB Debugging", this will allow you to run a version on your app on your phone as long as you have your phone connected to your computer through a USB cable.

Im getting these errors when Im trying to run Flutter from Visual Studio Code

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)

Can I use any other emulator other than HAXM emulator to create an android app?

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)

Visual Studio Preview 2015 is missing "VS Emulator Android Phone"

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