Android Studio SDK version 22?

Your Android SDK is outdated or missing templates. Make sure you are using SDK version 22 or later.

The machine I use didn’t have Eclipse before, but I had to because of an SDK problem,

I have installed

64bit SDK here:

C:\Program Files\Java\jdk1.7.0_21 

32bit SDK here:

 C:\Program Files (x86)\Java\jdk1.7.0_21 

Android-Studio is installed here:

 C:\Program Files (x86)\Android\android-studio 

Eclipse

 C:\Program Files (x86)\Android\Eclipse 

Now, on another part of this forum, a good post said changing the settings in Configure -> Project Defaults -> Project Structures , but I'm not sure what to change. I included the project in (project parameters), the list contains:

  • None
  • 1.7 (java version 1.7.0_21)
  • Android SDK (java version 1.7.0_21)

I chose the Android SDK (java version 1.7.0_21). Then there are the NEW and Edit buttons. But when I try to give it the path C:\Program Files\Java\jdk1.7.0_21 etc., it says that it is incompatible.

My environment variables:

 ANDROID_HOME = C:\Program Files (x86)\Java\jdk1.7.0_21 JAVA_HOME = C:\Program Files\Java\jdk1.7.0_21 

Does anyone know how to fix this?

+2
android android-studio
May 22 '13 at 9:24
source share
3 answers

Also make sure that inside Configuration> Projects by default> Project Structure> Click on the "Android SDK" section in the lower left panel and enter the path to your Android SDK as follows: / Applications / Android Studio.app/sdk (Use a browser to specify sdk folder).

+3
Jan 28
source share

Android SDK is different from the Android API level .

I had this problem when I tried to switch from Eclipse to the Android Studio IDE. The problem is the Android SDK Tools version, which is supposed to contain an error message.

Suppose you installed the Android SDK from Eclipse before:

 1. Open Eclipse 2. Go to Help->Check For Updates and update to latest version (just to be sure) 3. Go to Window->Android SDK Manager 4. on the SDK Manager make sure you have selected Tools.Android SDK Tools,Platform-tools and SDK Build-tools![first 3 on the picture][1] 5. Press 'Install packages' 6. Restart Eclipse and Package Manager 7. Repeat steps 4, 5 and 6 until there is nothing left to update. 8. Close Eclipse, start Android Studio and try to 'create new project' again. This time it should work! 

If you can run Android Studio, you can open the SDK manager from there (in the defaut toolbar) and go from p.4

if using Eclipse will also set the SDK path to the same as in Eclipse

Android Studio - configure - Project Defaults - Project Structure - Click the plus Android SDK - enter the path to the same sdk that you use in eclipse (launch the SDK, and on the top panel you will see this path) from here

+1
Nov 04 '13 at 20:33
source share

In eclipse

Go to HelpInstall New Software .

In progress: type https://dl-ssl.google.com/android/eclipse/ and press ENTER .

Wait for Eclipse to retrieve the repository. An item named Developer Tools appears in the list. Mark it for installation, click "Next" and follow the instructions to install the ADT tools.

When finished, he will ask you to restart Eclipse. Make sure you do it.

When Eclipse reboots, all of your Android SDKs should appear again.

0
May 22 '13 at 9:29
source share



All Articles