| page.title=Migrating to Android Studio |
| |
| @jd:body |
| |
| <div id="qv-wrapper"> |
| <div id="qv"> |
| <h2>See also</h2> |
| <ul> |
| <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA" |
| class="external-link">IntelliJ FAQ on migrating to IntelliJ IDEA</a></li> |
| <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode" class="external-link" |
| >Eclipse Compatibility Mode</a></li> |
| <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA" class="external-link" |
| >FAQ on Migrating</a></li> |
| </ul> |
| </div> |
| </div> |
| |
| |
| <p>If you have been using <a href="{@docRoot}tools/help/adt.html">Eclipse with ADT</a>, be aware |
| that <a href="{@docRoot}tools/studio/index.html">Android Studio</a> is now the official IDE for |
| Android, so you should migrate to Android Studio to receive all the latest IDE updates.</p> |
| |
| <p>To migrate existing Android projects, simply import them using Android Studio:</p> |
| |
| <ol> |
| <li>In Android Studio, close any projects currently open. You should see the |
| <strong>Welcome to Android Studio</strong> window.</li> |
| <li>Click <strong>Import Non-Android Studio project</strong>.</li> |
| <li>Locate the project you exported from Eclipse, expand it, select the |
| <strong>build.gradle</strong> file and click <strong>OK</strong>.</li> |
| <li>In the following dialog, leave <strong>Use gradle wrapper</strong> selected and click |
| <strong>OK</strong>. (You do not need to specify the Gradle home.)</li> |
| </ol> |
| |
| <p>Android Studio properly updates the project structure and creates the appropriate |
| Gradle build file.</p> |
| |
| <p>For more help getting started with Android Studio and the IntelliJ user experience, |
| <a href="{@docRoot}tools/studio/index.html">learn more about Android Studio</a> and |
| read <a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA" |
| class="external-link">FAQ on Migrating to IntelliJ IDEA</a>.</p> |