I've downloaded and installed Android Studio, the program loads (after setting the JDK env variable) but when i click on "New Project" i get this error :
Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.
the android SDK is included with Android Studio in this location : C:\Program Files\Android\android-studio\sdk but it seems he dosen't find it,
android SDK or eclipse was not installed previously, anyone installed Android Studio and got/solved this error!!
The Cause for this error -SDK tools package might not be installed. Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.
OS & Hardware Microsoft® Windows® 7/8/10 (32- or 64-bit)The Android Emulator only supports 64-bit Windows (learn more).
Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above). After this, open C:\Users\Username\AppData\Local\Android\Sdk and delete the platform-tools folder.
ok, here's how it worked:
I downloaded the Adt bundle and Copied the file "SDK Manager.exe" to the Android studio root directory and just executed it (this set the SDK environment variable to C:\Program Files\Android\android-studio\sdk).
then In Android studio clicked Configure ==> Project Defaults ==> Project Structure
then in the tab Project / Project SDK selected android SDK.
then in the tab SDKs / build target selected Android 4.2.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With