Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - Issue with Android SDK on Windows 7

Im having a issue with the latest developer tool announced at Google i/o 2013 "Android Studio". I have successfully installed the program and am able to launch just fine. I can import exsisting projects and edit them just fine. However when i attempt to click the SDK Manager icon or the AVD Manager icon, Or when i attempt to create a new project. I get the following error "Please specify Android SDK" Now, I have already gone into File > Other Settings > Default Project Structure > under "Platform Settings" SDK's . I have created a Android SDK item with the source to my Android SDK folder.

Therefore i don't understand why Android Studio doesnt recognize it. The only thing that im doing somewhat different is not using the included sdk folder in the actual Android Studio folder. However when trying it, it says its not a real SDK home.

Any idea's, Thanks in advance

like image 365
Jaison Brooks Avatar asked May 16 '13 00:05

Jaison Brooks


People also ask

Can Android Studio work on Windows 7?

To install the latest version of Android Studio you need Windows 7(64 bit) system.

How do I fix Android SDK missing?

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.

Why is my Android Emulator on Android Studio not working?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.


2 Answers

Try updating your Android SDK to r22 http://dl.google.com/android/installer_r22-windows.exe

I had the same issue, once I updated to the latest SDK, Android Studio was able to find the android-sdk folder.

like image 194
dues71 Avatar answered Sep 24 '22 19:09

dues71


I was having this same issue. First download the latest SDK as described by dues71 and put it someplace you will remember (for instance C:\AndroidSDK). In Android Studio select your project and select File->Project Structure (or select the icon icon ). On the left, under Project Settings select Modules and select the Dependencies tab. In row that says "Module SDK" select "New..." and select "Android SDK". Navigate to root sdk directory (i.e. C:\AndroidSDK) and select OK. Select the latest Android SDK. It will now index the directory which may take some time, but after that is complete it should work.

like image 35
brendan Avatar answered Sep 22 '22 19:09

brendan