user958547
user958547

Reputation:

Android Studio Issue: Why does it still complain even if I have already updated to SDK 22?

So I am running Android Studio v0.1 on Windows 8 (x64). When I click on New Project, it always complains: enter image description here

This still happens even if I have installed the lasted SDK, latest JDK: enter image description here

Could this be my environment variables' fault?

Thank you. This stuff is new. I really don't have much clue.

Upvotes: 2

Views: 967

Answers (2)

Jaya Mayu
Jaya Mayu

Reputation: 17247

Tip 1

when you set the path "ANDROID_HOME" etc make sure not to include "bin" at the end of the path. This solved the issue for me.

It works fine with JDK 1.7 (I tried with 32 bit)

if you do so, you can see the initial screen as below. enter image description here

Tip 2

Are you getting below error message?

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.

This error occurs probably because you have reference to your older SDK (that you downloaded with eclipse) in your path variable. Go to Environment variables and remove any reference to the old SDK folder and point it to new SDK folder that is found inside the Android Studio installation folder.

Save and restart Studio, things should work as expected now.

Upvotes: 0

Larry McKenzie
Larry McKenzie

Reputation: 3283

You need to set the right SDK directory in the settings.

Configure -> Project Defaults -> Project Structure -> Platform Settings -> SDK's

Click the plus sign and add your Android SDK directory.

Upvotes: 3

Related Questions