Reputation:
So I am running Android Studio v0.1 on Windows 8 (x64). When I click on New Project, it always complains:
This still happens even if I have installed the lasted SDK, latest JDK:
Could this be my environment variables' fault?
Thank you. This stuff is new. I really don't have much clue.
Upvotes: 2
Views: 967
Reputation: 17247
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.
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
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