Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've spent a day on trying to put all the pieces together, been in hundreds of sites and tutorials, but they all skip trivial steps.</p> <p>So here's the full guide:</p> <ol> <li>Download and install <strong>Java JDK</strong> (<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" rel="noreferrer">Choose the Java platform</a>) </li> <li>Download and install <strong>Android SDK</strong> (<a href="http://developer.android.com/sdk/index.html" rel="noreferrer">Installer is recommended</a>) </li> <li>After android SD finishes installing, open <strong>SDK Manager</strong> under <strong>Android SDK Tools</strong> (sometimes needs to be opened under admin's privileges)</li> <li>Choose everything and mark <strong>Accept All</strong> and install.</li> <li>Download and install <strong>IntelliJ IDEA</strong> (<a href="http://www.jetbrains.com/idea/download/index.html" rel="noreferrer">The community edition is free</a>) </li> <li>Wait for all downloads and installations and stuff to finish. </li> </ol> <p><strong>New Project:</strong> </p> <ol> <li>Run <strong>IntelliJ</strong> </li> <li>Create a new project (there's a <a href="http://wiki.jetbrains.net/intellij/Developing_applications_for_Android_in_IntelliJ_IDEA" rel="noreferrer">tutorial here</a>) </li> <li>Enter the name, choose <strong>Android</strong> type.</li> <li>There's a step missing in the tutorial, when you are asked to choose the <strong>JDK</strong> (before choosing the SDK) you need to choose the <strong>Java JDK</strong> you've installed earlier. Should be under <code>C:\Program Files\Java\jdk{version}</code></li> <li>Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at <code>C:\Program Files\Android\android-sdk-windows</code>.</li> <li>Choose the android version.</li> <li>Now you can write your program.</li> </ol> <p><strong>Compiling:</strong></p> <ol> <li>Near the <strong>Run</strong> button you need to select the drop-down-list, choose <strong>Edit Configurations</strong> </li> <li>In the <strong>Prefer Android Virtual device</strong> select the <strong>...</strong> button</li> <li>Click on create, give it a name, press OK. </li> <li>Double click the new device to choose it. </li> <li>Press OK. </li> <li>You're ready to run the program.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload