Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio SDK version error after update

I just finished installing Android Studio and the JDK. Everything worked fine while I looked around the new interface. No errors or anything. After I checked for updates I went from version 0.5.2 to 0.6. When I restarted I got the error

Error:The SDK Build Tools revision (19.0.3) is too low for project ':app'. Minimum required is 19.1.0

Which SDK is it referring to and shouldn't it update along with Android Studio? Before I updated I did not have this message.

like image 959
user1971 Avatar asked Jun 12 '14 05:06

user1971


People also ask

How do I fix Android SDK is missing or corrupted?

Quick fix: Uninstall Android SDK (default location C:\Users\.. \AppData\Local\Android\Sdk ) and install it again. This time affirms the minimum required storage space at your place of download. After execution check, if tools folder is now added in SDK directory.

How do I know what version of Android SDK tools I have?

Navigate to “Appearance & Behavior” > “System Settings” > “Android SDK” and now you can see the SDK versions that were installed in the “API Level” and “Name” columns (focus on “API Level”).


1 Answers

So Android Studio version 0.6 requires the Android SDK build tools to be 19.1 instead of the old 19.0.3.

To install this, follow these steps:

  1. Close all open projects.

  2. On the main Android Studio window, press Configure

  3. Then click SDK Manager

Once inside find the following build tools version:

Build tools needed

Then tick the box and install the package.

Once your done with that, close the SDK Manager, restart Android Studio, and you should be good to go!

Hope this helps!

EDIT:

One more thing you need to do:

  1. Open your project.

  2. Navigate to your build.gradle file located inside your module. For you, I think it's in the app folder.

  3. Open the file.

Now you should see something like this: gradle file

Where it says buildToolsVersion in the quotes, replace 19.0.3 with 19.1.0. Now sync gradle files and everything should be solved.

like image 186
Andrew Quebe Avatar answered Oct 19 '22 23:10

Andrew Quebe