Ben
Ben

Reputation: 62464

Trouble adding SDK in IntelliJ

I'm having trouble getting my SDK into my IntelliJ project. I can't seem to get the path right or something. This is the path that I'm using, which has all the packages in it. I've tried adding numerous paths including the "sdk" folder and "sources" and it keeps not accepting the path, one message I'm getting is that it's "not a valid SDK path".

I can't seem to figure out what the correct path should be...

enter image description here

My SDK Manager:

enter image description here

Upvotes: 4

Views: 5334

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402433

You need both Java SDK and Android SDK specified.

Because of a bug, you have to define JDK first (like c:\Program Files (x86)\Java\jdk1.6.0_37).

Then define Android SDK by pointing to its root (in your case it would be sdk folder).

Upvotes: 4

Related Questions