Skip to content Skip to sidebar Skip to footer

How Does One Upgrade To Android Sdk 25.1.3?

After the latest update to Xamarin, I get this error in design view 'The installed Android SDK is too old. Version 25.1.3 or newer is required.' Running the 'Open Android SDK' and

Solution 1:

I got past this by installing SDK v23 (Android 6.0). When designer mode finally opened, even though I also have Android 7.0 installed, Android 6.0 was the only selectable "Version" at the top of designer mode. I have Visual Studio 2015 btw.

Solution 2:

So, I just figured this out and remembered this post, I've been struggling with this issue for hours now.

The problem seems to be that Xamarin doesn't recognize the latest SDK Tools (25.2.2) as a newer version than the minimum needed (25.1.3) so I tried downloading the SDK Tools with the same minor version as the needed one, closest I could find was 25.1.7 which you can get from the Google repository here:

Just extract the appropriate package for your platform into your SDK directory under tools and re-open Xamarin/Visual Studio and the Android designer should work again.

Solution 3:

To open the SDK Manager, click Tools > Android > SDK Manager or click SDK Manager in the toolbar.

When an update is available for a package you already have, a dash appears in the check box next to the package.

To update an item or install a new one, click the check box so it shows a checkmark. To uninstall a package, click to clear the check box. Pending updates are indicated in the left column with a download icon . Pending removals are indicated with a red cross .

To update the selected packages, click Apply or OK, then agree to any license agreements.

more details Refer Here with image

Solution 4:

Here is the process that worked for me:

  1. Install 64-bit JDK 1.8
  2. Update Android SDK Tools, Platform-tools, and Build-tools. Close SDK Manager and repeat if the version required in the warning isn’t shown. You may need to exit Visual Studio if you get "Warning! A folder failed to be moved"
  3. Make sure the Android settings in Visual Studio are pointing to the right locations: Tools > Options > Xamarin > Android Settings

This is the full post about what I did to resolve this issue.

Solution 5:

Iliya was almost there. My setup is: non-fresh VS2015E U3, Xamarin 4.2.0.695, Android SDK installer 24.4.1, Android NDK R13, JDK 7u71. Tried Iliya method (and much more), reinstall, move Android SDK, nothing helped.

Finally the solution was to install all Android SDK Tools from API 14 (Android 4.0) up to the latest using Android SDK manager. Source: https://forums.xamarin.com/discussion/47251/the-installed-android-sdk-is-too-old-version-24-3-or-newer-is-required see YuryShpakov answer.

Though, there was more to do, at least for me: JDK 7 won't compile your blank Android app, you have to go for JDK 8, and also uninstall JDK 7, if you can afford. See Rob's resolve here: Warning major version 52 is newer than 51, the highest major version supported by this compiler

One more issue will likely come up, see this thread: Error message "No exports were found that match the constraint contract name".

Post a Comment for "How Does One Upgrade To Android Sdk 25.1.3?"