I'm trying to setup Android Studio on a new install of Mac OS X Yosemite. I downloaded the Android Studio Beta v0.8.14 from here: https://developer.android.com/sdk/installing/studio.html and upon launching it complained about not having an SDK (although the download page indicates it should include the SDK). I tried searching after installing for the SDK and can't find it (a few other posts indicate /Applications/Android Studio.app/sdk but that location doesn't exist). Where is the SDK installed and what is required to set it up?
Go to the SDK Manager and click Edit... next to the field for the location of the SDK. Then an "SDK Setup" window should display. There you can download the SDK.
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
Old answer
It seems the android-studio-bundle version is no longer available in the download page (instead there are only android-studio-ide). When you start Android Studio, it won't let you create a new projet until you configure the SDK location.
That means you have to download the SDK separately here, extract it somewhere, and configure it on Configure->Project Defaults->Project Structure. After that, the SDK Manager icon will be enabled and you can download the tools you want.
I had the same problem on Windows. After I re-installed it a few times, I found that the SDK was installed but hidden in C:\Users\<user name>\AppData\Local\Android\sdk.
Information for Windows
For some reason, which I have no time to investigate, Android seems to provide, currently, the IDE and the SDK separately, while in the Dev Webpage says the opposite.
This is the "complete" (false!) tool I have just downloaded: android-studio-ide-171.4443003-windows.exe (SDK is missing here, note the "ide" in the file name).
And this is the real complete tool I had downloaded few months ago, from the same place...: android-studio-bundle-162.3871768-windows.exe
Note that this last one has the "bundle" in the file name.
Please, download the bundle (IDE+SDK) from here:
https://dl.google.com/dl/android/studio/install/2.3.1.0/android-studio-bundle-162.3871768-windows.exe?hl=ko
I want to suppose (¿?) that similar link you can find for Linux or macOS just Googling for it.
Hope this helps!
It worked like this for me
Downloaded the Android Studio
Install Android Studio
Open Android Studio after installation.
You will get a dialog box to import settings if you already have Intellij installed on your machine. Say "Do not Import". Otherwise continue to next step.
It will ask you in the dialog box to pre-configure such as theme, path etc.
Just click next next...and then Finish. You will see the SDK tool will start downloading.
After installation is finished. You can find it in this path: C:\Users\<user name>\AppData\Local\Android\sdk
If you have ever installed Android Studio before and then removed it, it won't reinstall the SDK automatically (speculation: some Windows setting somewhere).
The solution is starting Android Studio and then
File -> Manage IDE Settings -> Restore Default Settings
This will wipe any custom settings you don't have at this point and trigger the SDK install
What Pablo wrote is misleading.
This is the "complete" (false!) tool I have just downloaded:
android-studio-ide-171.4443003-windows.exe (SDK is missing here, note
the "ide" in the file name).
Yes, it is IDE only, but after you install this IDE and first time run it, SDK will be downloaded automatically. So there is no need to download some outdated bundles. Just use default "green button" on https://developer.android.com/studio/index.html
I'm using Ubuntu, and had previously installed Android Studio. It was using too much space, so I deleted it. Now when I downloaded it and started ./studio.sh, it found my previous installation configuration directory and asked to import from there. I did, and then this problem occurred.
I put the directory .Android Studio 3.3 in the trash and restarted ./studio.sh, and it imported the SDK automatically for me. That was good, because I couldn't find it where it was supposed to be according to the dialog box. The 3.3 above is from the version of Android Studio I was installing.
in my case, my country is forbidden from google, and my PC's time zone was set by my counrty.
after I change my timezone to another country my problem solved and android studio download SDK and nkd easily
Re-install studio. If ANDROID_HOME is set to custom location then it will install sdk there else it will install SDK in C:\Users<user name>\AppData\Local\Android\sdk
Note:this is a temporary fix
If you have Eclipse then you can use that SDK for emulation.
Just run the sdk manager and emulate a version of android. Then while you are asking for emulating something ie while running code it will show your emulator as online and you can even use it.
Hope this helps you.
All the Best...
Related
I see there a lot of similar topics pertaining to this issue but I did not find a solution for me among those posts. I just installed Android Studio v0.8.14 and it won't let me create a new project because I do not have an SDK path specified. For the life of me I cannot find where that path should be. I see many people have it located in C:/Android or someplace similar, however the only Android files I have are on my desktop in the extracted folder that came in the .zip. All paths inside that folder do not qualify as an appropriate SDK location, according to Android Studio. Am I being completely ridiculous and missing the obvious?
For Mac/OSX the default location is /Users/<username>/Library/Android/sdk.
Android Studio on Windows 8:
C:\Users\username\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
(in username : please enter valid username)
Install it and restart your Android Studio.
The above steps are similar for win 7 and also same for eclipse.
Update: Windows 10 (similar steps) - pointed out by RBT
This is the sdk path Android Studio installed for me:
"C:\Users\<username>\appdata\local\android\sdk"
I'm running windows 8.1.
You can find the path going into Android Studio -> Configure -> SDK Manager -> On the top left it should say SDK Path.
I don't think it's necessary to install the sdk separately, as the default option for Android Studio is to install the latest sdk too.
I had forgot where the sdk location was installed to so what I did was open Android Studio and selected Settings then used the following submenu
Current 1/1/2017:Tools -> SDK Manager
outdate: Appearance & Behavior -> System Settings -> Android SDK
There the sdk location was listed as Android SDK Location
Download the SDK from here: http://developer.android.com/sdk/ to C:\android-sdk\.
Then when you launch Android Studio again, it will prompt you for the SDK path just point it to: C:\android-sdk\.
Update: new download location, https://developer.android.com/studio/#command-tools
Linux (Ubuntu 18.4)
/home/<USER_NAME>/Android/Sdk
windows (8.1)
C:\Users\<USER_NAME>\AppData\Local\Android\sdk
(AppData folder is hidden, check folder properties first)
macOS (Sierra 10.12.6)
/Users/<USER_NAME>/Library/Android/sdk
macOS (Catalina or Mojave or Sierra):
After installing Android Studio (3.6+ or 2.3.x),
by default
sdk path: "/Users/< username >/Library/Android/sdk"
Remember:
may be
Library folder is hidden.
To make it visible:- Hit Command+shift+. OR
Open Terminal and type "chflags nohidden ~/Library/" then hit return.
windows:
After installing Android Studio,
by default
sdk path: "C:\Users< username >\AppData\Local\Android\sdk"
Remember:
by default
AppData folder is hidden, make it visible first.
Start Android Studio and select Configure --> SDK Manager
Then, check the path of Android SDK
If you can't find the SDK location, you may want to download it. Just scroll down to near end of the download page and select the Android SDK with respect to your OS.
C:\Users\Max\AppData\Local\Android\sdk\
The location I found it in for Windows 8.1. I think the default SDK folder. AppData is a hidden folder, so you will not locate it unless you type it in once you get into your C:\Users\ folder.
For Mac users running:
Open Android Studio
Select Android Studio -> Preferences -> System Settings -> Android
SDK
Your SDK location will be specified on the upper right side of the
screen under [Android SDK Location]
I'm running Android Studio 2.2.3
When i upgraded i just moved my SDK to my user folder C:\Users\Nick\Android-SDK and updated my path in Android Studio. Worked like a charm.
EDIT: (More detail) - My SDK was originally inside C:\Program Files (x86)\Android\android-studio\sdk, I just Cut and Paste the entire \sdk folder into C:\Users\Nick\Android-SDK, then set it inside Android Studio to the new location.
For Ubuntu users running:
Open Android Studio
Select Android Studio -> Settings -> Android SDK or
Android Studio -> Project structure -> SDK location or to open Project structure shortcut is (Ctrl+Alt+Shift+s)
Your SDK location will be specified on the upper right side of the screen under [Android SDK Location]
If your project is open click on Gradle Scripts >local.properties(SDK LOCATION), open it and there is the location of sdk with name
sdk.dir=C\:\\Users\\shiva\\AppData\\Local\\Android\\Sdk
Note don't forget the replace \\ to \ before coping the things(sdk location)
Default path in Windows
%USERPROFILE%\AppData\Local\Android\Sdk\
Linux 2021, after installed follow these steps!
Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences).
In the left panel, click Appearance & Behavior > Android SDK.
You will see the path
C:\Users\username\AppData\Local\Android\sdk
This is the right path, if you looking up for sdkmanager.
Android SDK is in C:\Users\username\AppData\Local\Android\Sdk
(MAC Users) To find sdk Location in Android Arctic Fox:
File >> Project Structure>> SDK Location.
Consider Using windows 7 64bits
C:\Users\Administrador\AppData\Local\Android\sdk
Windows 10 - when upgrading from AS 2.x to 3.01
AS has the SDK directory name changed from .../sdk to .../Sdk
Because I kept my original settings this caused an issue.
Changed back to lowercase and all working!
AndroidStudioFrontScreenI simply double clicked the Android dmg install file that I saved on the hard drive and when the initial screen came up I dragged the icon for Android Studio into the Applications folder, now I know where it is!!! Also when you run it, be sure to right click the Android Studio while on the Dock and select "Options" -> "Keep on Dock". Everything else works.
create a new folder in your android studio parent directory folder. Name it sdk or whatever you want.
Select that folder from the drop down list when asked.
Thats what solves it for me.
I tried the accepted solution but it didn't resolve the issue for me.
I had already installed Android Studio 2-3 years ago, but I uninstalled it at some point. Installing the latest version was giving me an error. I did multiple uninstalls/reinstallations, but the issue persisted.
I found an SDK was available on my machine in %LocalAppData%. I opened the environment variable and deleted all the references of Android like Android Home /Path. I performed the uninstallation of Android Studio and then reinstalled.
This time it worked and installed properly; it is even downloading the other SDK-related files.
If you are working on React native,please make sure you have installed these tools because I was missing and it resolved my issue
React Native doc for installation
I found this a couple of minutes back.
What renders the location unuseful is the fact that it is neither empty nor has the sdk.
One of the conditions needs to be met for the folder.
So, try this:
On Windows, go to Control Panel and search for 'show hidden folders and files'.
You will find a "Folders" option. On the submenu, you will see "Show hidden files and
folders".
[The options look like this.][1]
Refer this image.
[Click the option shown in the picture][2]
Click apply and ok.
Go to the location i.e. some location in appdata, or the location your android sdk was
about to be installed in. The location should be visible now.
Go to it and delete everything inside. (Don't delete the sdk folder, just the contents
inside it )
Go to android sdk manager and select the same location again. The error should vanish.
Happy installation!
In other words, this error only pops up if you had a previous failed installation.
If you're unable to do it still, hit me up at twitter #Vishma Pratim Das and I will be happy to assist you.
Thanks.
[1]: https://i.stack.imgur.com/G6P8S.png
[2]: https://i.stack.imgur.com/PeRUZ.png
I just installed Android Studio and has the same problem.
Banged my head for a few hours and found the solution - it's retarded.
So I installed Android Studio but when it asked me for the config folder, I provided the one from my IntelliJ. Well, turns out that stop the Android Studio setup and I had no SDK. Going to their site the SDK is nowhere to be found. It's not on any of the links from the other answers either.
My solution was to use a different folder for Android Studio. That ran the setup wizard and downloaded the SDK.
Sharing what worked for me in hopes that it helps someone else.
My issue was that my SDK was not installed together with the Android Studio IDE for some reason. How I managed to trigger the SDK installation was by going to File > Settings on Android Studio, then typing "sdk" in the searchbar. If your android sdk location is empty, click on "edit" right next to it and it should immediately prompt installation for your sdk.
Cheers!
For Linux, do not move/put android sdk under /usr/lib/ directory because it will only have read permissions and other libraries cannot be downloaded.
C:\Users\username\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
check this location in windows
I have installed adt version 22.6.1 already 2 days ago. It was working fine. Suddenly, When I open eclipse today, it keeps showing me following error:
This Android SDK requires Android Developer Toolkit version 22.6.1 or above. Current version is 22.2.1.v201309180102-833290. Please update ADT to the latest version.
Here is screenshot of my eclipse's Android SDK Manager :
I tried with following steps to resolve my issue as discussed in this Link
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https://. If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says This software is already installed, an update will be performed instead. Clicking OK will lead to 22.6.1 being installed.
But unfortunately it didn't work for me.
Here is a screenshot I am attaching which shows the error I am getting while updating the tools.
How can I get rid of it?
I have solved this issue yesterday.
Follow the steps :
Help -> Install New Software -> Add -> (Give any name suppose NewUpdate) -> add this url : https://dl-ssl.google.com/eclipse/plugin/4.2 -> OK
Now it will list the available updates, which should ideally be adt 20.x.x
Select the list items Let it be installed. Eclipse will restart and Its done.
I hope this will helpful for you :)
Yet, if someone is facing this issue, Then follow steps below:
download new stand alone SDK from android's developer site
Close eclipse if it is opened and copy new downloaded sdk in the same location where your already existing old sdk is. Must replace conflict files and keep rest.
No need to delete old sdk. Copying as in step 2 will update your Android Developer Toolkit version to 22.6.1 or above which is required and will keep already downloaded APIs.
Now start your eclipse, and the error will be gone forever. :)
if someone will have trouble doing so, leave me a comment, will try to guide.
I managed to resolve it by doing the following:
Downloaded latest ADT (Win x64)
Deleted my old ADT install (It got bugged when I simply tried to overwrite the existing files) - see this google issue
Copied the zip file to C:\ (since it was complaining about too long filenames while unpacking)
Unpacked to my ADT install folder.
Ran updates and SDK manager updates.
Now it's working, but I lost my pretty Eclipse theme. Oh, and the target adt is not being resolved, a problem for another topic.
Just delete the existing ADT and install new version of ADT.generally this problems occurs
when you update SDK using below link.
https://dl-ssl.google.com/android/eclipse/
The ADT Bundle on developer.android.com seems to me as out of date.
I fixed the same problem by downloading eclipse (Java EE was my choice, but you can choose your flavor) and Installing the Eclipse Plugin
this steps solve my problem:
go to Help -> Install New Software.
in the bottom box, click What is already installed? text.
then you will see Eclipse Installation Details box, please Uninstall all conflicts software, in my case I uninstall the following software:
Android DDMS
Android Development Tools
Android Hierarchy Viewer
Android Native Development
Android Traceview
Tracer for OpenGL ES
when uninstall complete, please restart your Eclipse.
after your Eclipse open, please follow again these steps:
go to Help -> Install New Software.
in Work with box, select or add {ADT Plugin - https://dl-ssl.google.com/android/eclipse}.
then check all available software.
click Next > to install newest software.
I hope this helps you :)
I use OSX and facing the problem for 2 days.
I solved the problem by following the steps below:
-Download ADT Bundle from https://developer.android.com/sdk/index.html
-Help -> Install New Software
-Write https://dl-ssl.google.com/android/eclipse/ then install Developer tools
-Restart eclipse and raised the error below:
Android SDK content Loader has encountered a problem.parseSdkContent failed
java.lang.NullPointeException
-Delete .android folder under user profile. Restart eclipse
No errors and 22.6.1 is installed.
For those who tried everything but didn't get any positive result. I did the following and it worked:
Uninstall the ADT by helping from following link:
Uninstalling Android ADT
Now you can follow the install new software to add ADT to your eclipse. This way you won't get any conflict since you uninstalled old version.
I currently have Eclipse and ADT installed in the same directory as
F:\eclipse
\eclipse\
\sdk\
I downloaded and installed the latest ADT to
C:\Users\Rick\AppData\Local\Android\android-sdk
I then copied the contents of the C:\Users\Rick\AppData\Local\Android\android-sdk into the F:\eclipse\sdk\ folder, and let it merge all folders and overwrite everything.
Now I have 22.6.1 and I don't have to re-download all the platform stuff again.
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
Then I found a solution from Here and it's working as a charm for me and also for my friend.
Follow the steps here:
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for
the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next. Read and accept the license agreements, then click
Finish.
If you get a security warning saying that the authenticity or
validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
The "Install new Software" under help in Eclipse will NOT work because it conflicts with ver#22.
I just downloaded the new Eclipse bundle from:
Get the Android SDK - google site, extracted it in a new folder ant it is done.
It is working smoothly, no problems.
Few tips to save you time:
Backup your workspace (just in case) - personally didn't use this back.
Once you open the new eclipse.exe it will ask you to select a workspace - just brows to your ols workspace and it will import all your projects (no problems).
In order to save time of download and install of the SDK again, I Cut & Paste the OLD SDK library from the previous bundle directory to the new one (Close your new Eclipse first).
When you re-open Eclipse, you may receive an error message saying that Eclipse can't find the SDK directory. It will ask you to open "Preferences". Once open, browse to the new SDK directory (the one that you just copied). Doing this will save you hours of re-installing all the SDK updates that you did on the previous Eclipse.
Have fun, it is really not a big deal.
I installed android studio but while selecting android SDK I am getting following error. I tried solution which is on this post but no luck. How can I solve this?
I had this problem, select SDK folder (NOT SDK->sources or SDK-platforms)
I resolved with the instructions here,
http://www.blog.teamguru.in/2018/04/06/selected-directory-is-not-a-valid-home-for-sdk/
Just close current error window and let run the android studio
Open the SDK manager as shown below
Click on Edit SDK location as shown below
Simply press next button if there is correct location for SDK you want to install there
Let it be downloaded
Install platform and SDK tools and
Enjoy
Try restarting the application. Close all related studio processes, then right click "run as administrator".
You should be fine after this.
I got the same issue. You must enable the Android Support Plugin
Configuration > Plugin > Android Support Plugin. Check it.
Close error window
Go to gradle tab
select "Gradle settings", wrench icon
Search for SDK setup
Select appropriate sdk for your device.
Next, two times
Wait for install
There is all..
None of the other answers work. After the installation, immediately close Android Studio, then start it as administrator. A message might popup asking for the sdk manager location. Ignore it (Close the popup). Go to Tools > SDK Manager and click on the edit button on the right of Android SDK Location. Then click Next, next and you're good to go. Android Studio will let you install the sdk manager.
I had the same problem but what I found is that it requires the parent folder of the following things AVD manager,SDK manager,tools,platform-tools,build-tools etc.So what you need is to find the parent directory of these things, which you might find with a name such as android-sdk or android-sdk-windows(in case you are using windows OS).Make sure the above said contents are in that folder and select it.I hope you will find this useful.
Download the SDK from http://developer.android.com/sdk/index.html
Start SDK manager and make everything up to date
Also, make sure you have set the language level to
7.0 Diamonds, ARM, Multi-catch, etc
I had this problem on Linux. Apparently you need write access to some place in that directory, so I just took ownership of the entire thing:
sudo chown -R thomas:thomas /opt/android-sdk
Could be that something similar is going on on Windows as well.
If like me, a MacOs user which has installed Android Studio on my Mac and if you've tried everything you can think of but was still unable to set the Android SDK directory in Android Studio, follow the next steps (I know the site where I got the bundle is a freeware site but the package is the right one):
1. Download adt-bundle-mac (Android Developer Tools) from [here][1].
2. Unzip the file and browse into the unzipped folder.
3. Copy only the sdk dir to /Users/username/Library/Android
4. Open Android Studio, the error about the SDK folder which is not set will pop up, set the path to the SDK to "/Users/username/Library/Android/sdk".
5. Now Android Studio will accept the path and you're good to go.
I wasted about 2 hours until I fixed it so I hope that by writing this answer I'll save you some 2 hours.
The sdk folder contains the platform-tools folder.
I copied this folder and named it platforms, then it worked for me.
Just delete(preferably permanently) all the android directories in whatever location they are present(e.g. C:\Program Files\Android, C:\users\respective user\respective android folders). Remove the installer as well(if possible). Make sure to save all your Android Studio files in some external storage (preferably).
The main thing is to get Android studio with SDK.
Now go to the android studio website and install android studio leaving all settings default. There you will also get to install the SDK and it's linking.
It will take some time to load and will load nearly 1.5 GB files.
This worked for my case.
In my case I wasn't giving him admin permission
Steps to follow:
Close Android Studio.
Restart Android Studio and Give the path of Empty Folder .
Install Sdk in that folder(Sdk will automatically install and will get configure automatically.)
With Android Studio 4.1.2 the easiest thing is to close the project (file / close project). That's how you get to the wizard that automatically sets up the SDK for you.
The default location that it suggests is /Users/stan/Library/Android/sdk (exactly the same that I was trying to set up manually but AS kept saying it's invalid)
I've just installed IntelliJ IDEA 10.0.0.2 Community edition
I've installed Android SDK ... (C:\Program Files\Android\android-sdk-windows)
I want to make a new android project, so I a create a new project, select Android Module, next , next...
Then when i need to choose the JDK, I go to the android folder, and when i try to choose it, I get this error:
The selected directory is not a valid
home for JSDK
What am I doing wrong ? what can i do to fix this ?
I Installed android SDK with all the updates
When I choose IntelliJ IDEA Plugin SDK i get:
The selected directory is not a valid
home for IntelliJ IDEA Plugin SDK
EDIT:
Still not solved...
I've already chose the SDK itself and chose android 2.2 Platform when creating the project.
Can't load the JDK files. So i won't me compile, i get this error
Cannot start compiler: the SDK is not
specified for module "blah".
Specify the SDK at Project Structure
dialog.
To develop Android applications in IntelliJ IDEA you need to set both Java SDK (JSDK) and Android SDK:
Configuring Project SDK
Java SDK
Setting Android SDK/Platform
You also need to run SDK Manager application and download Android platforms which you are going to use.
Note that you can detach all the jars from the JSDK configuration in IDEA if you are going to use it only for Android, this will help with the code completion so that only classes available in Android will be suggested by the IDE.
I also recommend to read the following tutorials:
Developing applications for Android in IntelliJ IDEA
Developing Android applications on the base of existing sources
EDIT:
Configuring project's link has been updated
JSDK is the Java SDK. On my Debian it's under /usr/lib/jvm/java-6-sun
My installation path was "C:\Users\User\AppData\Local\Android\android-sdk." That confused IDEA since it doesn't seem to be able to see hidden folders, even when typing in the full path. Bummer...I fixed it though, by setting AppData as visible.
I just wasted a whole lot of time on this problem. My work station is running IntelliJ Ultimate 11 on Windows 7 64-bit. I was setting up my first Android project. Therefore, no SDKs were configured. First I selected the JDK, which was a no-brainer (C:\ProgramFiles (x86)\Java\jdk1.6.0_30). Next comes the part where you need to specify the Android SDK. First you click the elipsis ("...") and then click "Add New". Now here's the kicker... If you look carefully at the dialog box, you'll notice that "Configure new JSDK" is highlighted by default. What you need to do is change the selection to "Android SDK". Now you can select the directory of your Android SDK and you won't get that stupid error message.
I literally wasted about a half an hour before I realized why the app kept telling me "This is not a valid SDK directory." Hopefully this will help someone else having the same problem.
Don here: I had the same trouble in Windows 64 with 11.1.2 and 64bit java. found that only by clicking on the left window could I register my Android SDK.
When you first create Android project/module, you must choose JDK, for this click "+" and select "JSDK" in menu, then select where your Java SDK is, for instance "c:\Program Files\Java\jdk1.6.0_20". Then click "Next" and in "SDK Properties" panel click "New" and select path to your Android SDK (a directory where "SDK Manager.exe" is).
Click the + symbol in the left most pane in the Select android sdk window during the creation of the project and then select the android SDK (default= c/program files/android/android-sdk)
I had a real hard time seeing how to do this on a mac, since you can't download the jdk from sun's site
#Szabolcs Berecz #Yochai On a mac, you'll need to get the source as described here:
or just jump to the download here:
Then it stored in this location:
1.6.x /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/src.jar
If you right click in the leftmost window you can create a new Android Plugin or some such. I was just fighting with this myself. I have never used IntelliJ before and really their docs are out of date. Apparently not up to the current version.
In the JDK part you need to choose the JAVA JDK that was downloaded. (not the android)
C:\Program Files\Java\jdk1.6.0_24\
Make sure you have installed JDK 1.5 or 1.6
(1.7 is not works for some reason with Android SDK).
I had the same problem ("The selected directory is not a valid home for Android SDK"),
but after installing 1.6 JSDK - it`s work for me.
I've got the same problem with version 12 on linux, Android module does not show java sdk location and android sdk location selection fails because java sdk is not set.
I've solved by making a java project, that lets me select java sdk and android sdk (strange right?), after making such a project I can make an android project because android sdk is now configured
I've spent 30 minutes solving a foolish problem
For IntelliJ & Android on Linux.
If the "Android SDK" Menu comes up with a red 'No Android SDK' Click the browse button to the RIGHT of the drop down. - Its a different layout in Linux to Windows.
In my case, I needed to add support for android, so, I searched for android in the plugins settings.
Fixed! I needed to run IntelliJ as Administrator IDEA. Now it will approve my Android SDK directory of "C:\Program Files (x86)\Android\android-sdk"
I'm using Windows 7 and installed the 64 bit version of Eclipse 3.5.2. I then installed the Android ADT plugin, but when I try to configure it in the Windows > Preferences dialog, the Android Plugin doesn't show up in the left pane. Instead I see DDMS. This prevents me from specifying the location of the Android SDK (unless there is another way) to give me the appropriate templates and such.
Someone posted a fix to this that includes setting the permissions of Eclipse, but that didn't work for me. I tried installing the Android Plugin from both online installation (thru the URL install) and the offline Archive method.
If you're running Windows Vista or 7, make sure you right-click Eclipse and RUN AS ADMINISTRATOR. I literally spent six hours figuring this out, and this was what fixed it.
Dear people from the future:
I had roughly the same problem in linux, except that i didn't see anything at all but vanilla eclipse after installing. by combining both previous answers i got it to work:
start eclipse with sudo eclipse -clean, install the plugins and restart eclipse. the plugins showed up including the welcome screen that's supposed to be there.
after that it should work when running as regular user as well.
works for both the android sdk and the gwt sdk. (and probably other eclipse plugins)
Remove the plugin, then restart as follows:
eclipse -clean
Now try reinstalling the ADT from the online installation
For users having similar problem and not luck with other solutions:
I have windows XP but had same problem. I realized that I had JDK5/bin folder in my PATH environment variable (though my JDK_HOME was pointing to JDK6), as soon as I modified the PATH to replace bin of JDK5 with JDK6, the Android buttons on eclipse (after restart with -clean) along with Android option in Preferences & New Project showed up. (Weird eh!)
Also, consider to install the bundle android installation having eclipse with pre-configured Android SDK if a new eclipse installation doesn't matter to you
http://developer.android.com/sdk/installing/bundle.html
The above answers do not confront the heart of the problem. There is a feature in Windows 7 that prevents downloaded files from direct access of local files. All of the state is perfectly maintained in the Eclipse workspace instance. The problem is easily resolved by doing the following:
Find the "Eclipse" executable
Right-click on it.
Click "Properties".
Select the "General" tab.
Look for -> Security: "This file came from another computer and might be blocked..."
Click Unblock.
This is a much better solution than uninstalling and reinstalling the ADT or Eclipse which can be a pain.