Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App Getting Started with Android Running the Fun Facts Project

The SDK platform-tools version in Android Studio

After installing the Android Studio, and running an emulator, it reports that : The SDK platform-tools version (23.1) is too old to check APIs compiled with API 24. Suggest me to update. So how could I update the SDK ?

1 Answer

Kourosh Raeen
Kourosh Raeen
23,733 Points

In the toolbar in Android Studio click on the SDK Manager icon, which results in a new window being opened. At the bottom of the window click on "Launch Standalone SDK Manager". Once that new window opens, at the top in the tools section you will see "Android SDK Platform-tools". In the Status column it probably says "Update availabe: rev24". Click on the checkbox on the left and at the bottom right click on install packages. There may be some items already check so you may want to first deselect all and the select the one you want to update.

Thank you so much, Kourosh Raeen. I follow your lead, and find the version update choice. However, in the end of SDK manager log window popped after the downloading, it says, Fetching URL: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml Validate XML: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml Parse XML: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml ...................(many found) Done loading packages. Preparing to install archives. Downloading Downloading Android SDK Platform-tools, revision 24 URL not found: C:\Program Files\Android\temp\platform-tools_r24-windows.zip (access denied). Done. Nothing was installed. I don't know why, and I couldn't find the .zip file in my computer. How could I solve this ? By the way, it also says that, the Android SDK location should not contain whitespace, as this can cause problem with the NDK tools. And in the location, there is a whitespace in "Program Files". Does it matter ?