diff options
Diffstat (limited to 'docs/html/sdk/installing/migrate.jd')
| -rw-r--r-- | docs/html/sdk/installing/migrate.jd | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/docs/html/sdk/installing/migrate.jd b/docs/html/sdk/installing/migrate.jd index ea5a648..db1b5dd 100644 --- a/docs/html/sdk/installing/migrate.jd +++ b/docs/html/sdk/installing/migrate.jd @@ -2,6 +2,17 @@ page.title=Migrating from Eclipse @jd:body +<div id="qv-wrapper"> +<div id="qv"> +<h2>See also</h2> +<ul> + <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've previously developed for Android using Eclipse and would like to migrate to Android Studio, you should export your projects from Eclipse in order to generate @@ -15,26 +26,27 @@ Gradle build files. You can then import your project into Android Studio.</p> <li>In Eclipse, select <strong>File > Export</strong>.</li> <li>In the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle build files</strong>.</li> -<li>Select the projects you want to export for Android Studio and click +<li>Select the project you want to export for Android Studio and click <strong>Finish</strong>.</li> </ol> -<p>Your selected projects remain in the same location but now contain a {@code .gradle} -build file and are ready for Android Studio.</p> +<p>Your selected project remains in the same location but now contains a {@code build.gradle} +file and is ready for Android Studio.</p> <h2 id="Export">Import into Android Studio</h2> <ol> - <li>In Android Studio, select <strong>File > Import Project</strong>.</li> - <li>Locate a project you exported from Eclipse, select the project's root directory and - click <strong>OK</strong>.</li> - <li>Select <strong>Create project from existing sources</strong> and click - <strong>Next</strong>.</li> - <li>Follow the walk-through to complete the import process.</li> + <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 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>Now that your projects are imported to Android Studio, +<p>Now that your project is imported to Android Studio, read <a href="{@docRoot}sdk/installing/studio-tips.html">Tips and Tricks</a> for some help getting started.</p> |
