Android emulator lollipop stuck at the android boot screen - visual-studio

When i want to create android device manager for android lollipop 5.0 and 5.1 in visual studio 2019 16.3.5, it always stuck in the android boot screen but no issue for other versions include kitkat 4.4.
I have checked and running haxm 7.5.2 and did not enable hyper-v. all the setup are defaults and it working for all versions from kitkat 4.4 up to pie 9.0 except lollipop 5.0 and 5.1.
Hope someone can advise on this issue?

i found the issue. Seems like the issue is from corrupted system image. When download the system image from Visual Studio, it will stuck at the boot screen. Then i downloaded the system image from Android Studio C:\Users\user\AppData\Local\Android\Sdk\system-images and move it to visual studio's android sdk default folder, C:\Program Files (x86)\Android\android-sdk\system-images, it works!

Related

How to publish IOS version of xamarin app via visual studio in windows?

I need to publish my android app that make it with visual studio enterprise 2017 and get IOS version of My App.
How to do this?
If you wish to compile your Xamarin application on iOS, you must have a Mac machine and deploy your app through there. You are not able to deploy an iOS version of your application on Windows, unless you are tethering to a Mac device through LAN for example using Visual Studio 2017.
Chick this out too, hope it helps!

Missing Android version in Visual Studio after installing SDK

So I'm working on an Android application using Xamarin with Visual Studio Community version. The target platform is Android 7.1, however, after installing the SDK for this platform, Visual Studio does not show the option to target this version. I'm wondering if there is a step I'm missing, although the Xamarin instructions say that it should be available after installing.
If you see on this image of the project properties, I can't choose anything other than Android 6.0
Solution Properties
And I've installed the 7.1 SDK from the Android SDK Manager
Android SDK Manager
Any extra steps or work arounds that you can think of? Thanks!

What emulator to run with Visual Studio 2015 - Community edition for Xamarin to work>

I have installed Visual studio 2015 Community edition and wanted to try Xamarin for Android/iOS development. Default installation for VS doesnt show me any installed emulator with visual studio.
I am new to mobile development and not sure which emulator to install. There are options like Visual studio Android Emulator for 2015. But it wont work on my Windows 10 home edition.
Please suggest.
As Toby suggested below. I used Xamarin Player. It is not straight forward process though. I did following steps if some one is interested.
1) Installed Xamarin Android Player.
2) Had Oracle VM Box manager installed previously as part of Android SDK(I think).
3) After installing Xamarin Android Player, It prompted for the device I wanted to use. I selected Nexus 5 KitKat. After downloading required files. I tried to run the device. Got another error!! Saying 'Xamarin Fail to initialize device'.
3) I opened Oracle VM and selected the device. Clicked on Settings > System > Base memory. Reduced base memory to 1024 MB. Saved the changes.
4) Opened Xamarin Studio and re-ran the device.
Success!!!
5) Came back to Visual Studio. It started to show me the device in Visual Studio. Ran the solution and Voila! App is indeed in visual studio.
That is correct. Visual Studio Emulator for Android works only with the Pro version or higher of the operating systems Windows 8, Windows 8.1 and Windows 10. Instead of the Visual Studio Emulator for Android, you can test your Android application with the Android Player from Xamarin. The Xamarin Android Player works official with all version of Windows 7, Windows 8 and Windows 8.1. I use the Xamarin Android Player with Windows 10 without issues. Alternative you can use the Android Emulator from the SDK.

Xamarin Studio cannot find Android tools/devices

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.

Mono android not working?

I my visual studio 2010 i add mono android.And i installed android sdk and java sdk.But it always shows
'C:\Users\Dell\AppData\Local\Android\android-sdk\platforms\android-8'.
Ensure you have installed support for this Android platform version in
the Android SDK Manager. C:\Users\Dell\documents\visual studio
2010\Projects\MonoAndroidApplication1\MonoAndroidApplication1\aresgen MonoAndroidApplication1
How to slove this?
Start Android SDK Manager either from inside Visual Studio or from the location "C:\Users\Dell\AppData\Local\Android\android-sdk\tools\android.bat".
Once its done loading packages... checkmark "Android 2.2 (API8)" to install support and your error will be resolved.
Alternatively, if you are not planning to support Android 2.2 and are fine with the latest Android version, then in Visual Studio, go to Project Properties >> Application and change the API to whatever API you want.

Resources