Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 366
Webnet Avatar asked Sep 14 '25 20:09

Webnet


1 Answers

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).

like image 158
CrazyCoder Avatar answered Sep 16 '25 12:09

CrazyCoder