Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

running Android Studio on Windows 7 fails, no Android SDK found [duplicate]

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!!

like image 957
Chtiwi Malek Avatar asked May 17 '13 00:05

Chtiwi Malek


People also ask

How do I fix Android SDK not found?

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.

Can Android Studio run on Windows 7 32-bit?

OS & Hardware Microsoft® Windows® 7/8/10 (32- or 64-bit)The Android Emulator only supports 64-bit Windows (learn more).

How do I fix Android SDK file not found ADB?

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.


1 Answers

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

like image 176
Chtiwi Malek Avatar answered Oct 14 '22 20:10

Chtiwi Malek