No Android SDK, neither Java found

6,219
  1. Before create android select "Java module"
  2. In field "Project SDK" select folder with your JDK (e.g /usr/lib/jvm/java-7-oracle)
  3. Click "Next" then "Previous"
  4. Select "Android module" and shoose your folder with Android SDK

After that all my ASDK was found correctly.

Share:
6,219

Related videos on Youtube

Alex Malex
Author by

Alex Malex

Updated on September 18, 2022

Comments

  • Alex Malex
    Alex Malex over 1 year

    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?

    • HackToHell
      HackToHell over 11 years
      try using the ppa askubuntu.com/a/61873/20245
    • Alex Malex
      Alex Malex over 11 years
      as I said, Java is installed properly. Thus, I don't need to use ppa.