The installed Android SDK is too old. Version 25.1

2019-09-11 20:39发布

问题:

I installed Xamarin on Visual studio 2013. I Unfortunately get the error: " The installed Android SDK is too old. Version 25.1.3 or newer is required. Please update to the latest version." I updated to latest version but I still get the same error!!! These pictures show my SDK manager installations. Image1 Image2

And also I installed x86 jdk on my x64 based processor system type as recommended.

Well, how to get ride of this sticky error :( ! It made me crazy for a long time...

What should be installed? what should not be installed?!!

Thanks in advance.

回答1:

And also I installed x86 jdk on my x64 based processor system type as recommended.

I'm not sure which JDK have you installed, but Android Version 25.1.3 or newer requires JDK 1.8. After installed this JDK, you need to open your VS and change the JDK path to this jdk 1.8 installed location:

Open Tools -> Options, then find the Xamarin table and choose Android Settings, then change the Java Development Kit Location to your installed location for example like this:

I'm using VS 2015, not 2013, but it should be similar.