Showing posts with label Android Studio. Show all posts
Showing posts with label Android Studio. Show all posts

Tuesday, December 17, 2013

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

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


How to solve the problem "Android SDK is out of date or is missing templates" In Android Studio. Easy and Simple Steps

Follow these Steps



  • Open up your project in Android Studio.

  • Go to Settings for the Project via F4. Or selecting the Project Root -> Right-Click and then Module Settings.

  • You will find Project Settings and Module Settings under which you have the option of selecting both your JDK and Android SDKs if you want.

  • For e.g. under Platform Settings, you will find SDKs and you can simply tap on the green + sign to add your own path to a locally present SDK.


Check Once


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

Windows: Users\AppDataLocalAnroidandroid-studiosdk Mac: /Applications/Android Studio.app/sdk/ Make sure your android-sdk-path is correct and the sdk tool version is 22 or later.

first time do open the Configure—> Project Defaults —> Project Structure, set your project sdk is Android SDK.

then select SDK tab and select build target (eg:Android4.2.2)

Android Studio not start with connected device

Android Studio not start with connected device


Step 1 : Run Configuration

Change Run Configuration for Connected Device

You should change Create Run Configuration in that General Tab select Target Device

  • Show chooser dialog

  • USB Devices

  • Emulator


In Menu

Get From Run -> Edit configurations

android.view.InflateException: Error inflating class com.google.ads.AdView in android studio

Step 1:


Check Once, You need to put the admob jar (Download New Version) into the libs folder of your project.

Step 2:


Remove admob Jar in libs folder of your project

File -> Project Structure -> Modules -> Dependencies -> Add AdMob.jar File

Step 3: Check One Android Manifest File


<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>