The android emulator in Visual Studio 2015 CTP 6 will not start. If I try to start a debug session with any native android c++ project on any android emulator (KitKat or Lollipop, phone or tablet) I'll get the error message:
"The device '' 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."
I repaired and reinstalled Visual Studio and the Visual Studio android emulator already several times.
You should be seeing a Hyper-V entry for the emulator.
It looks like you're using the CTP6 version of the Visual Studio Emulator for Android (which has support for KitKat and Lollipop).
The CTP6 version of the emulator requires the matching CTP6 version of Visual Studio 2015. The first thing to try is to install the CTP6 version of Visual Studio here: http://www.visualstudio.com/en-us/downloads/visual-studio-2015-ctp-vs.aspx
After installing VS CTP6, confirm that the version number of the emulator is still 1.0.50219.2 in Add Remove Programs (Control Panel).
Related
I have updated the Mac version of monetary 12.2. From there onwards, the studio emulator is not working. I tried all ARM, X86, and X86-64 system images as well. Android studio shows me connecting to the emulator and can't see the emulator getting opened.
I am using android studio's latest version Bumblebee V 2021.1.1.
Please find the image attached below.
I had the same issue.
Quick fix, Go to Android Studio -> Preferences -> Tools -> Emulator
Now uncheck "Launch in a tool window"
Restart Android Studio.
Try starting the emulator now.
I think it's a bug.
I am writing an Android application in Android Studio. I want to debug it in Microsoft Visual Studio Emulator for Android (it works on AMD, emulators from Google do not work on AMD). I have installed Visual Studio Emulator and run it. However, it does not appear in the list of available devices in Android Studio.
What I should do for Android Studio to see this emulator as a debugging device?
My version of Android Studio 3.6.3 (current latest version).
I do not know the version of the emulator but it is also the latest.
Other questions on Stack Overflow about connecting these applications are about older versions and do not help to solve the problem with the latest versions.
Android Studio emulators can now run on AMD processors. All you have to do is Navigate to Tools -> Android -> SDK Manager then select the "SDK Tools" tab and tick this option:
Android Emulator Hypervisor Driver for AMD Processors
Then click Apply to download then use it for your emulator.
I am new in the Xamarin.Forms world and the mobile development and I am trying to understand how the framework mvvmcross works. To do it I have taken the example app TipCalc. I am getting a problem when I start this app on a virtual emulator with Visual Studio 2017. I am getting the following error: "TipCalc.Forms has stopped".
Emulator configuration:
Android_Accelerated_x86_Oreo (Android 8.1 - API 27) 1GB
I have following components installed:
Android SDK Platform 27 and Google Play/APIs Intel x86 Atom System Image are installed.
Android SDK Tools 26.1.1 and Android Emulator are also installed. NDK is not installed. I am getting an error without any detail when I try to install it.
My development environment:
Windows 10 Home
Processor: Intel Core i7-7500U - RAM 8 GB 64Bit-OS
Any idea why it doesn't work? Build and deploy works fine (deployment takes a long).
Recently updated VS to the newer version VS 2015 Community Edition from the pre release 2015 version.
Whenever I try to start the android emulator (tools>Visual Studio Emulator for Android) it throws an error instantly:
Could not load file or assembly 'Microsoft.Visual Studio.Telemetry, Version = 14.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a' or one of it's dependencies. The system cannot find the file specified.
I have tried to 'repair' visual studio and also the emulator itself in Programs and features.
Does anyone know how to fix this or is having the same issue?
This can happen if you don't have a version of the emulator that matches with a version of Visual Studio. Do you have RTM Visual Studio with an older version of the emulator? You can check by going to Add/Remove programs and verifying that:
Microsoft Visual Studio is version 14.0.23107.10 or greater
Microsoft Visual Studio Emulator for Android is version 1.0.50715.4 or greater
If not, you should uninstall the emulator and update it to the RTM version (the version number above or later).
I had the same problem with the latest version of Visual Studio Enterprise 2015 (Update 3).
It turned out that I had to remove an old version of the emulator and then install the new version.
Although the documentation tells that the Visual Studio Emulator for Android will be installed with the Visual Studio Setup, I could not find any entry in the setup for the Android Emulator and changing or repairing Visual Studio setup did not help.
Thanks to #John Kemnetz answer I found out that an old version of the Android emulator was installed. Maybe this prevented Visual Studio setup to install the right version?
I uninstalled the old Android emulator from Control Panel => Programs and Features.
Next I downloaded the new Android emulator from Visual Studio Emulator for Android and now it starts OK.
According to the documentation here:
http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/introducing-visual-studio-s-emulator-for-android.aspx
The Visual Studio Emulator for Android installs either with the Visual Studio 2015 Preview or the Cordova Tools, both of which I have installed.
However when I open my Cordova Tools created app I don't see the Visual Studio Android Emulator in the options. Hyper-V is enabled and running but there's no VS Android Emulator image.
Just to be sure I reinstalled the Cordova Tools for VS 2013, which took forever, but still no change in emulators.
What am I missing?
As it is stated in this thread - Visual Studio Preview 2015 is missing "VS Emulator Android Phone", the Visual Studio Emulator for Android is installed with a separate installer after the main VS 2015 installed ends with the rest of the tools.
Please also notice that the Visual Studio Emulator for Android uses Hyper-V and therefore is not supported on Windows 7 or earlier. This could also be part of the problem.
To install it