Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,732 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 ?