I've recently installed Visual Studio Community 2015 and I've been following an MSDN tutorial "Build cross-platform apps with Xamarin". When its time to design the look of the app and I select the Main.axml file in the Resources\layout folder, the Android designer fails with:
The installed Android SDK is too old. Version 24.3.4 or newer is required. Please update to the latest version.
I've done a lot of searching and found that one of the newer versions of Android SDK caused the Xamarin Android designer to fail. I did find a version 24.4.1 that suggests this designer problem is fixed.
How do I update this part of Visual Studio (i.e. Xamarin.Android)? Here is a snippet of my install on Windows 7:
Once Xamarin is installed you can see the Xamarin Templates inside the Project Menu. To Install Xamarin with Visual Studio, please follow the below steps. Launch the Visual Studio 2015 Installer and after some initialization, you should see the below screen. Please select “Customs” the type of installation.
Go to Tools > Extensions and Updates... and click on the Installed list to check that the NuGet Package Manager for Visual Studio is at least version 2.8. 5. If it is older, click on the Updates list to download the latest version. Once you've updated the NuGet package to Xamarin.
Xamarin can be installed as part of a new Visual Studio 2019 installation, with the following steps: Download Visual Studio 2019 Community, Visual Studio Professional, or Visual Studio Enterprise from the Visual Studio page (download links are provided at the bottom).
Tools --> Options --> Xamarin
Under "iOS Settings" and "Android Settings" there is a link for "Check Now" next to the Updates settings
You might want to update to Beta release if you need the latest components -
Goto VS 2015 -> Tools -> Option -> Xamarin -> Others -> Check Now
They moved the "Check Now" into the harder-to-find Tools/Options/Xamarin/Other
. We must always be on guard when dealing with the
Other
In newer Version of Visual studio this option is available in Other
node
Goto VS 2015 -> Tools -> Options -> Xamarin -> Other -> Check Now
Here you can choose between Alpha, Beta or Stable versions of xamarin for Visual Studio
.
Apparently, my problem was solved after installing SDK Platform for Android 6.0 or API 23. API 24 or higher i.e Android 7.0 (Nougat) didnt run. If still not solved then install SDK Platform for even lower APIs like 22,21 ... Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With