IntelliJ IDEA 11.0.2 doesn't detect Android SDK

Hi, I'm trying to develop an Android App on Win XP.
JDK and Android SDK installed.
I go through the porcess to create an app, and it asks me for my Android SDK (set to 'none') - but when I click on the '...' button to find the SDK, it says 'find JDK' (which I've already specified int he previous screen) and won't let me find the SDK.
So how do I tell IntelliJ IDEA where to find my Android SDK so I can build an Android app?
The online instructions for this appear to be for an older version of the software, because the screen has different buttons in the online description.

11 comments
Comment actions Permalink

The Java SDKs and Android SDKs are configured in the same dialog. You need to press the [+] button, select "Android SDK" from the drop-down that appears and then specify the path to the Android SDK.

0
Comment actions Permalink

But that's the problem - I can't specify it.
I get a New Project screen with 'Android SDK' drop down (showing 'none').
If I use the '...' button to specify the path to my Android SDK, I get a screen with 'JSDK home path' - and that screen will only let me specify a JDK - if I point at anything else it tells me it is not valid.
So how do I tell the system where my Android SDK is?

0
Comment actions Permalink

When I press the "..." button next to the "Android SDK" chooser in the New Project dialog, I get the "Configure SDK" dialog. It shows the list of all available SDKs and allows to add SDKs of different types.

0
Comment actions Permalink

Thanks - yes, I get that dialog, but when I point it at the Android SDK I get a message telling me it is 'not a valid JDK' - which I guess is not a surprise, but how do I tell the system that this is an SDK, not a JDK?

0
Comment actions Permalink

Once again. When you click the [+] button in the Configure SDK dialog, you get a popup with the list of SDK types that can be added. Please make sure that you select "Android SDK", and not "JSDK", in this popup.

0
Comment actions Permalink

I think perhaps we're talking about different screens, because I don't have a '+' button
I'm creating a new project.
I've said I want an Android module.
I've specified a JDK version
I get a screen with 'add module' on the left, and at the top it says:
Android SDK: with an (empty) drop-down saying '[none]', with a '...' button beside it.
Just below that is a tick box with 'create Android default application structure'
If I click on the '...' I get a window up titled 'Configure SDK', with a JSDK home path shown below, and below that a tabbed widnow with classpath, sourcepath and so on filled in with my JDK details.
I click on 'Add' and point at my Android SDK.
And a dialog pops up saying 'Please select Android SDK'.

0
Comment actions Permalink

Ah, got it! Thanks very much

0
Comment actions Permalink

What the hell is going on with these java software packages?????

IntelliJ is doing the exactly the same thing that Android Studio was doing.

I succesfully create a project, I close it and then IntelliJ is incapable of opening the bloody thing again.

Something about iml files not existing or can't be created.

0
Comment actions Permalink

Next problem.

I have this error: project sync failed. "basic functionality will not work". I can't edit anything in intelliJ.

I follow these instructions: http://stackoverflow.com/questions/21347704/with-0-4-3-android-studio-error-gradle-project-sync-failed-basic-functionali

I go into file->settimgs->copyright and this section is totally empty - no gradle section.

So how do I fix this? Why hasn't the install done all this?

0
Comment actions Permalink

I figured out my project re-opening problem...

It appears that intellij, and probably android studio, force you to create your project in the windows c:\document and settings\<user>\My documents or some other editable folder in c:\document and settings\<user>\

Why the authors of these software packages would place this restriction on the users of the software is beyond me.

Any other IDE software package I have ever used lets you create projects on any drive you feel like, including of the form \\gregaryb\(D)\.

0

Please sign in to leave a comment.