Home | History | Annotate | Download | only in installing
      1 page.title=Migrating to Android Studio
      2 
      3 @jd:body
      4 
      5 <div id="qv-wrapper">
      6 <div id="qv">
      7 <h2>See also</h2>
      8 <ul>
      9   <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA"
     10   class="external-link">IntelliJ FAQ on migrating to IntelliJ IDEA</a></li>
     11  <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode" class="external-link"
     12  >Eclipse Compatibility Mode</a></li>
     13  <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA" class="external-link"
     14  >FAQ on Migrating</a></li>
     15 </ul>
     16 </div>
     17 </div>
     18 
     19 
     20 <p>If you have been using <a href="{@docRoot}tools/help/adt.html">Eclipse with ADT</a>, be aware
     21 that <a href="{@docRoot}tools/studio/index.html">Android Studio</a> is now the official IDE for
     22 Android, so you should migrate to Android Studio to receive all the latest IDE updates.</p>
     23 
     24 <p>To migrate existing Android projects, simply import them using Android Studio:</p>
     25 
     26 <ol>
     27   <li>In Android Studio, close any projects currently open. You should see the
     28   <strong>Welcome to Android Studio</strong> window.</li>
     29   <li>Click <strong>Import Non-Android Studio project</strong>.</li>
     30   <li>Locate the project you exported from Eclipse, expand it, select the
     31   <strong>build.gradle</strong> file and click <strong>OK</strong>.</li>
     32   <li>In the following dialog, leave <strong>Use gradle wrapper</strong> selected and click
     33   <strong>OK</strong>. (You do not need to specify the Gradle home.)</li>
     34 </ol>
     35 
     36 <p>Android Studio properly updates the project structure and creates the appropriate
     37 Gradle build file.</p>
     38 
     39 <p>For more help getting started with Android Studio and the IntelliJ user experience,
     40 <a href="{@docRoot}tools/studio/index.html">learn more about Android Studio</a> and
     41 read <a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA"
     42   class="external-link">FAQ on Migrating to IntelliJ IDEA</a>.</p>
     43