Xamarin Studio 3.0 is an amazing product. The main idea is all the programming is with C#, so if you know C# already have almost a 7% of done . That’s because, the programing language is important, but is most important the platform you use to create apps.
Going back to Xamarin, I found myself with the following exception, building and running a demo:
Target device (emulator-5554) has an API level of 12, but this application has a minimum API level of 15 set.
The minimum API level can be changed in the project properties on the Android Manifest tab.
This error is given in our list of emulators for Android only we have available 2 virtual devices, in this case for API level 10 and 12.
So what we have to do is “installed” or download new emulators that support in this case Api Level 15. Now it the time to search and run the Android SDK Manager.
Windows search quickly leads us to the Android SDK directory
And within the same can already launch [SDK Manager.exe], which is the app who manages Android SDK resources we have installed locally. In the next image you can see as I have selected resources for API Level 19 and I’ve decided to download plus a couple of images also to work with them.
After a few minutes, will finish the download and installation. Now you can close the Android SDK Manager and return to Visual Studio.
From the IDE launched the Android Emulator Manager in the option ‘ Tools / / Android/Open / Android Emulator Manager… ”
And we will see that we… still have only emulators for API Level 10 and 12. So that now create a new AVD with the definitions that we need. For this click on Create and for example, to create one for a Nexus 7 with the following configurations.
Once defined the values, we can already see the result of the process of creating the AVD.
It also appears in the list of AVDs
And you can launch it from the Android Virtual Device Manager
And we can see the emulator running in a few seconds
Note:At first glance, emulators for Android leave a lot to be desired when compared to the Windows Phone.
Now already we can return to our Xamarin Android project and… when we select the device or emulator for testing, we have available that we created in previous steps.
And now yes, Welcome to Xamarin Forms!
Saludos @ Home