Flutterian
Flutterian

Reputation: 1781

Unable to update android sdk in android studio 2.3.3

I am trying to build application for android-25, currently 23,24 and 26 api's has been installed. I want to update the sdk for api level 25. I am not able to find the way that how to update for api level 25. I followed below steps

  1. Clicked on Tools--> Android --> SDK Manager. I got below screen

enter image description here

  1. Next I clicked on "SDK Update Sites", but here I am getting error logo in front of site.

enter image description here

Here, I am getting stuck. Don't know how to update now.

I want to update android sdk because I have imported one project which is running on api level 25. While importing the project I am getting below error.

enter image description here

Whenever clicked on error in error logs, it will show me below error.

enter image description here

Is anyone faced same issue before? May I know how to update sdk for api level 25 in android studio 2.3.3?

Upvotes: 3

Views: 861

Answers (2)

mkjorgensen
mkjorgensen

Reputation: 308

You may be experiencing the issue discussed here: https://developer.android.com/studio/releases/platforms.html#7.1

Important: To see the most recent Android system components in the Android SDK Manager, you must first update SDK Tools to the most recent release and restart the SDK Manager.

Update SDK Tools to the latest version and restart the SDK Manager.

Upvotes: 2

user2253883
user2253883

Reputation:

Update the complieSdkVersion and targetSdkVersion to api level 24 and sync the gradle.

I had the same issue a while ago and this worked for me. I hope it works for you aswell.

Upvotes: 1

Related Questions