How to debug a xamarin app in Emulator - xamarin

I am new to Xamarin. I develop an app and deployed it on VS Emulator for android but on clicking of a button, the app is getting crashed. Please let me know the step which I can take to attach my app to VS so That I can figure out the cause of crashing the app

Please see this Xamarin documentation to undestand how you can debug your xamarin app in Emulator.
There are two standard Emulators that you can use, one is Android SDK Emulator which is the default emulator that is provided with the Andorid SDK and the other one is Visual Studio Android Emulator which is a Visual Studio 2015 built in Android emulator. Alternatively, you can use Gorilla Player.

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!

Deploy ionic 2 application to android device using visual studio

I have made simple app in ionic2 using visual studio. I have searched alot in google but not finding any clue how can I deploy this application for any android device?

Debug mode not working on Visual studio mac preview

I'm having a problem where i can't debug my Xamarin application onto my android device. The app is installed on my phone but when i start the application it immediately crashes.
please help me!

I have downloaded visual studio community 2013. But I do not find option for android and ios apps.

I have downloaded visual studio community 2013. But I do not find option for android and ios apps. Please can anyone help me with that. I have visited https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx this link too but am unable to know how to start with android and ios.
For developing ios and android application in VS 2013 you should use Cordova.
You can find it under Other languages-> JavaScript->Apache Cordova Apps

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