Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - SDK is out of date or is missing templates

I downloaded Android Studio, fixed the JDK Environmental Variable, but when I try to create a New Project, I get an error that says

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

I opened up android.bat in the SDK but it said I was already running version 22.

Anyone else getting this?

like image 347
Scott Carlson Avatar asked May 15 '13 22:05

Scott Carlson


People also ask

How do I install the latest Android SDK?

Install the SDKClick Tools > SDK Manager. In the SDK Platforms tab, select Android 12. In the SDK Tools tab, select Android SDK Build-Tools 31. Click OK to install the SDK.

How do I download SDK manager for Eclipse?

The first one - to download it here (Download for other platforms -> ADT Bundle) and choose the link for your version. Than you extract it and run .. \eclipse\eclipse.exe. In Eclipse you run SDK Manager (menu Window > Android SDK Manager) and go to the item number 5 of this lesson to download platformes.


2 Answers

It just happened because you already have your SDK setted up for Android Developers Bundle with eclipse. Simply open your SDK manager in the ADT Bundle and update you Android SDK Tools from 21.1 to 22 and you are good to go.

Worked for me.

like image 121
Usman Tahir Avatar answered Oct 14 '22 09:10

Usman Tahir


First of all, on Windows and Mac, the individual tools and other SDK packages are saved with the Android Studio application directory.

Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\ Mac: /Applications/Android\ Studio.app/sdk/ 

Make sure your android-sdk-path is correct and the sdk tool version is 22 or later.

Then open the Configure--> Project Defaults --> Project Structure, set your project sdk is Android SDK.

enjoy.

like image 41
twocity Avatar answered Oct 14 '22 10:10

twocity