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 trialRobert DeFilippi
734 PointsUpdated Android Studio, now it says "Please provide the path to the Android SDK." Huh?
So I've updated AS to 9.x from an 8.2 version. After the update it's now asking me for a path to the Android SDK. Huh? When did this happen? I thought the SDK came with AS.
Is there something I'm missing?
4 Answers
Johnathan Shoff
6,877 PointsMake sure that with the new Android Studio it is targeting the right Java SDK, that is an issue that has occurred quite often lately with the newest version of Android Studio. I am sure you already setup the appropriate environment variables.
Robert DeFilippi
734 PointsOk, I think I understand what you're saying. But then my questions would be:
- What is an environment variable?
- Where is the location of my SDK? Spotlight has not really helped me :/
Johnathan Shoff
6,877 PointsAh pardon my misunderstanding, you are having issues locating the Android SDK, it is not a Java issue. Okay well there should be an option to access the SDK Manager which will then allow you to download, and install the Android SDK you require for your project. Check out -- http://developer.android.com/sdk/installing/adding-packages.html
I hope that can better assist you, since that is what I used to get all setup with the latest version of Android Studio. It will download, and install the SDK which you will then be able to select the SDK you chose upon creating a new project.
Robert DeFilippi
734 PointsHummm, I went to the link you specified and the first command was:
"In Android Studio, click SDK Manager in the toolbar."
Yet when I click that it gives me this warning:
"Error:Unable to continue until an Android SDK is specified"
So I really don't' know what to do now.
Jared M
3,680 PointsI don't know what operating system your using but this lesson goes over very simply how to download Android Studio with the correct versions of Java etc.... but instead of downloading the version of android studio in the video go to the developer site and get the newest one.
This one is for Windows but there's also a Mac and Linux one. :)