I've set up Xamarin in VS through the Visual Studio Installer. I selected the Android NDK 13b and also selected the Intel HAXM.
Problem is:
1) The NDK does not show up under any selection.
2) Android device manager keeps stating that HAXM is not installed.
I've tried uninstalling and reinstalling them and even restarting my system, but it still isn't working. As a result, I keep getting errors when I try to run the Android Device Manager or launch the emulator.
If anyone has any suggestions, please let me know. I'm half a mind do to a total reinstall
Related
I'm trying to learn Xamarin but I cant seem to install Android emulator (not talking about the standalone version) Visual studio. I keep on getting the errors:
Install Android Studio and install the android packages from there. The program takes care of a lot of the initialisation process when installing the Android SDk, platforms tools, and the emulator. It seems to do a better job at it than Visual studio.
From the screenshot, the manager is being downloading the SDK Platforms 29, you should wait for other processes be finished. Then click the option of Android Emulator and Apply Changes to check whether it works.
I am unable to run my Xamarin project in the android emulator there is no start button just an error. The repair option is grayed out and the only option I can do is Duplicate which says I need to repair? if I try and install a new device I get an image failed message.
Is there anyway to fix this? Or delete and reinstall?
Select x86 instead of x86. HAXM works with x86
Check your installed SDKs in Android SDK manager within Visual Studio
if API 28 is missing download it. You need below 3 highlighted in order for x86-64 to work
If above doesnt work
Best option now is to repair Visual Studio with Android SDK
If that does not work uninstall and reinstall Visual Studio.
When I compile sometimes the output returns to me: your version of android emulator is out of date. if I just recompile after it compiles without error. Sometimes it moves on another screen (I have 3) and systematic plant.withe error qemu-system-x86_64.exe i tryed to change the graphic source but didnt working One of the solutions that works is to reset the emulator in android device manager.
I then found Visual Studio Emulator that did not work either I uninstall them and I can not reinstall it
I repair uninstall reinstall visual studio.
What is the best way to use an emulator
I have just installed Visual Studio 2017 in my Windows 10.
I got error in initializing the Toolbox and it keep hanging.
Is there something I can do with?
I have launched the VS 2017 with Administrator, but this doesn't resolved the issue.
I had the same issue. I uninstalled Azure stuff and Clang/C2 and Toolset for Visual 2015.3 v140 and Xamarin stuff and added Apache Ant. After that it worked. So some of the above seams to resolve the issue. I will not do further investigation, because for me it is OK without that stuff.
Had the same problem. I did have Xamarin installed but not Android SDK, because I had it already installed for various other tools.
Turns out this is caused by Xamarin trying to access Android SDK, which isnt there. Solution seems to be to either remove Xamarin or install Android SDK, according to development community forum.
Unfortunatly, installing Xamarin and going into Xamarin/Android Settings to point to existing Android SDK (without it) also seems to hang VS2017.
HOWEVER...
If you want to keep Xamarin and use your own Android SDK/NDK, what you can do is:
Lauch Visual Studio 2017 Installer
Install Xamarin and Android SDK (dont need to install NDK as well)
Launch Visual Studio 2017
Go into Tools / Options / Xamarin / Android Settings (It wont hang
now)
Point to your existing Andoid SDK / NDK and Java runtime you want to
use
Close VS2017
Go back to Visual Studio Installer
Uninstall Android SDK
Before that I tried to define an ANDROID_HOME environment variable and tried to set the paths in registry, neither of those helped. This fixed the problem for me.
I tried all the voodoo solutions, removed every extension (xamarin included) and every package except the core .net and C# VS, which I updated to the latest version available v15.9.30. Same problem.
The solution for me was to uninstall an office plugin/tool from a previous visual studio.
The problem app was "Microsoft Visual Studio 2010 Tools For Office Runtime (x64)". After I uninstalled it, the problem was gone.
After installing Xamarin Studio, I've found it to miss Android related items such as Android SDK Manager under Tools menu:
Additionally I cannot run the application on an actual device, nor see any emulator:
Please note that I've developed Android app using Eclipse prior to this so I have everything properly setup (including device driver, ADB, Android SDK/NDK, etc), and have also made Xamarin Studio work on another computer. The problem is that it refuses to work on this particular computer, and uninstall/install it didn't help.
How do I fix it so that Android tools are shown in Tools menu and I can run Xamarin applications on an emulator/actual device?
The following steps resolved the issue for me:
Uninstall Xamarin Studio
Uninstall x86 JRE/JDK 1.6 installed by Xamarin Installer
Run Xamarin Installer and let it reinstall both JRE/JDK & Xamarin Studio
Don't know why the Xamarin installation wasn't working correctly the first time, nor why the above steps work, but it worked.