Starting with Xamarin

Reading Time: 1 minute

Once when you have installed Xamarin on your PC, you can get starting with Xamarin. You need to:

  • Update Android SDK Tools
  • Install USB device driver on you mobile
  • Put USB option on your mobile on USB Debugging option.

Check if mobile device working properly by going on Tools→Open Android SDK Command Prompt

start_xamarin01

And then give command: adb logcat

If your mobile device responding, you are ready to start working with your Xamarin project. By default, your new project will be set on latest framework. If your mobile device hasn’t this framework, your application won’t run. So go to Project→YourProjectName Options

start_xamarin02

And then, in Build→General→Target framework

start_xamarin03

Make sure that you have correct API installed for chosen target framework in your Android SDK manager. To launch the SDK Manager in Xamarin we need to go select Tools → Open Android SDK Manager

open-android-SDK-Manager

Then check and install your API packages

Android-jar-for-API-level

Hopefully, now you have everything to start programming android application in Xamarin.

External links:

Xamarin Getting Started
Getting Started Android
Introduction to Xamarin Forms

Leave a Reply

Your email address will not be published. Required fields are marked *

*