I have Java installed correctly, I did it by the manual http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux
I also installed Android SDK. However when I try to create a new Project IntelliJ Idea 12 and specify Project SDk choosing New -> /home/alex/android-sdk-linux
, it says me
No Java SDK of appropriate version found. In addition to the Android SDK, you need to define a JSDK 1.5, 1.6 or 1.7
What did I miss?
After that all my ASDK was found correctly.