Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I'm trying to learn xamarin!
Now i installed my android sdk files but in visual studio i have an error says that i need to install one of the sdk files!

Severity	Code	Description	Project	File	Line	Suppression State
Error		Xamarin.Android for Visual Studio requires at least one of the following Android platform installed: 
Android 8.0 (API Level 26 - Oreo)
Android 7.1 (API Level 25 - Nougat)
Android 7.0 (API Level 24 - Nougat)
Android 6.0 (API Level 23 - Marshmallow)
Android 5.1 (API Level 22 - Lollipop)
Android 5.0 (API Level 21 - Lollipop)
Android 4.4.87 (API Level 20 - Kit Kat + Wear support)
Android 4.4 (API Level 19 - Kit Kat)
Android 4.3 (API Level 18 - Jelly Bean)
Android 4.2 (API Level 17 - Jelly Bean)
Android 4.1 (API Level 16 - Jelly Bean)
Android 4.0.3 (API Level 15 - Ice Cream Sandwich)
Android 4.0 (API Level 14 - Ice Cream Sandwich)
Android 3.2 (API Level 13 - Honeycomb)
Android 3.1 (API Level 12 - Honeycomb)
Android 3.0 (API Level 11 - Honeycomb)
Android 2.3 (API Level 10 - Gingerbread)
Android 2.2 (API Level 8 - Froyo)
Android 2.1 (API Level 7 - Eclair)
Android 2.0.1 (API Level 6 - Eclair)
Android 2.0 (API Level 5 - Eclair)
Android 1.6 (API Level 4 - Donut)

Please click here to open the SDK Manager and install an Android SDK Platform.		 	0	

What I have tried:

please help me to solve the problem!


Also i cannot to set target framework in properties! (the target framework list is empty!)
Updated 3-Apr-18 1:03am
Christiaan van Bergen 3-Apr-18 4:25am    
This could be because you have missed some Environment Variables. Could you please check your %ANDROID_HOME% variable and which Android paths you've got in your PATH setting?
Member 11588285 3-Apr-18 6:06am    
I added android-sdk directory as %ANDROID_HOME% variable at user variable in environmental variables!
but i have the problem yet!
Richard MacCutchan 3-Apr-18 5:11am    
Just do what the message states, and load the latest version of the SDK.
Member 11588285 3-Apr-18 5:36am    
Where i have to load the latest version of SDK?!
I installed Api 23 ,25 and 27!
and set the directory of android sdk in visual studio!
Richard MacCutchan 3-Apr-18 5:41am    
I have not used Xamarin, so you may need to check the documentation to see what environment variables it requires.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900