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.


Crystal Natal
Crystal Natal
70 Points

When I try to open the Android Studio it says the Android SDK is missing, out of date or is missing templates.

It also says "you can configure your SDK via Configure - Project Defaults - Project Structure - SDKs". Where do I find the SDK file?

1 Answer

Harry James
Harry James
14,780 Points

Hey Crystal!

If you don't have the Android SDK yet, you can go ahead and download it using the SDK Manager. To do this, click on the SDK Manager from the top toolbar:

Then, click on the checkmark next to the API that you want to download (Or, for a smaller download, just the SDK Platform for the API) and press Install. Once it completes, check back on Android Studio and it should now compile the code.

Please note that you will need to set the compileSdkVersion to the same version that you downloaded (Or a version that you already have on your system). You can do this in your build.gradle file for your app module.

Hope it helps and, if you have any more problems, give me a shout :)