Android Studio is stuck on Downloading on Mac OS - windows

I switched to MAC from windows and my experience with android studio on MAC sucks. I wonder if I am missing something or the bug is with new version of android 3.0.1.
Android studio doesn't even gradle some apps which work perfectly on my windows machine. The gradle takes forever and I wasn't successful in running the apps. And one more issue is that Android studio doesn't quit, and I can't shutdown my laptop, it says android studio is open, I tried to quit android studio is stuck. Freezes I don't know my Mac specs are better than windows laptop.
What version of android studio do you use and how do you overcome this problem, do you prefer Mac over windows? or do you think I should switch back. But I invested a lot on this MacBook.

Ok i figured out what was causing the issue, Firewall was stopping android studio from connecting to internet.
Solution is simple, just add android studio to firewall
Go to System Preferences -> Security & Privacy -> Firewall -> Firewall Options, Click on "+" and add android studio.

Related

Xamarin.iOS: iPhone no longer available in debug list

After the latest update to Visual Studio 2019 v16.11.3 my iPhone is no longer appearing in the debug list and I can't deploy anymore.
I always deployed without pairing Visual Studio to a Mac and installed iTunes instead.
I have tried restarting my iPhone, changing connection cables but nothing helped. What causes this?
The solution to this problem is to reinstall iTunes via the Microsoft Store. Open iTunes and restart Visual Studio.
Now my iPhone gets detected again.

Cant download andrioid emulator in Visual Studio 2019

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.

missing iOS simulators

I have installed 2 simulator versions in XCode (10.3 and 8.1). However, from Visual Studio, I am not able to use the 8.1 simulator.
Using Xamarin iOS from Visual Studio in Windows how do I choose to debug using the 8.1 simulator installed on the Mac side?
Here are the available simulators I have in Visual Studio 2017...
I have XCode 8.3.3 installed and added the iOS 8.1 simulator...
I would make sure that your simulators are listed as devices inside xcode a guide to this can be found here. That link relates to calabash testing, but disregard that, it's an apt guide for double checking that the simulators exist on the mac. The terminal check is especially worth while doing to make sure that the device simulators are infact available. (Infact it's THE best way to confirm fully that this isn't an issue with something on the Mac.)
In regards to visual studio, honestly as it pulls the list from the Mac, the only thing you can do is to restart your PC, and your Mac. There are occassions where this genuinely fixes an annoying nonsensical xamarin issue.

windows doesn't startup when I install visual studio emulator for android

I installed Xamarin with Visual studio 2015, they worked well until I installed visual studio emulator for android, every time when I install it, windows couldn't start and stuck at windows logo for hours, Windows couldn't boot unless I restore system..
Do you have any suggestion to solve this problem ? or are there any emulator compatible with visual studio instead ?
p.s. my OS is windows 8.1 x64
I have only ever been able to get one VS Android emulator to work, but that is mainly because I use VM for Windows and only have 4GB ram assigned to it, and many of the emulator images need almost all of that.
That said, Google's Android emulators have gotten pretty good, especially if you install the Intel HAXM Accelerator included in the Android SDK. Instructions to install the HAXM Accelerator:
https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
And also make sure you update your Android SDK in the SdK Manager to get all of the latest stuff (with the exception of Preview N packages as Xamarin does not fully support N yet, and also do not install Build Tools version 24. there are issues with those build tools and Xamarin at this point. See https://releases.xamarin.com/technical-bulletin-android-sdk-build-tools-24/
Most probably this happens due to the Hyper-V. Microsoft emulator requires Hyper-V but if your computer doesn't support it for a reason or another that might very well happen.
To check this theory, enable Hyper-V by yourself (Programs and Features/Turn Windows features on or off, Hyper-V/Hyper-V Platform).
Other emulators don't require Hyper-V, so, if that's a problem you can still pick among Google's (free), Xamarin's (free) and Genymotion (commercial).

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.

Resources