summaryrefslogtreecommitdiffstats
path: root/docs/html/sdk/installing/migrate.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/sdk/installing/migrate.jd')
-rw-r--r--docs/html/sdk/installing/migrate.jd44
1 files changed, 26 insertions, 18 deletions
diff --git a/docs/html/sdk/installing/migrate.jd b/docs/html/sdk/installing/migrate.jd
index b83f8d3..06b9e3f 100644
--- a/docs/html/sdk/installing/migrate.jd
+++ b/docs/html/sdk/installing/migrate.jd
@@ -1,4 +1,4 @@
-page.title=Migrating from Eclipse
+page.title=Migrating to Android Studio
@jd:body
@@ -6,6 +6,7 @@ page.title=Migrating from Eclipse
<div id="qv">
<h2>See also</h2>
<ul>
+ <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA">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"
@@ -14,34 +15,41 @@ page.title=Migrating from Eclipse
</div>
</div>
-<p>If you've previously developed for Android using Eclipse and would like to migrate
-to Android Studio, you can import your project into Android Studio.</p>
+<p>If you're currently using Eclipse with ADT, we recommend you migrate to
+<a href="{@docRoot}tools/studio/index.html">Android Studio</a> as soon as possible, because
+the ADT plugin for Eclipse is no longer in active development.</p>
-<h2 id="Export">Import into Android Studio</h2>
+<p>To migrate existing Android projects from Eclipse,
+you should export your projects from Eclipse in order to generate
+Gradle build files:</p>
+
+<ol>
+ <li>In Eclipse, select <strong>File &gt; Export</strong>.</li>
+ <li>Select <strong>Generate Gradle build files</strong> inside the Android folder, then click
+ <strong>Next</strong>.</li>
+ <li>Click <strong>Browse</strong> to find your project to export.</li>
+ <li>Select your project from the list, click <strong>OK</strong>, then <strong>Finish</strong>.</li>
+</ol>
+
+
+<p>You can then import the project into 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 Project</strong>.</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>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>
-
-
-<p class="note"><strong>Note:</strong>
-It's possible to import an existing Android project to Android Studio even if you
+<p>It's possible to import an existing Android project to Android Studio even if you
don't generate a Gradle build file from Eclipse&mdash;Android Studio will successfully build and
run projects using an existing Ant build file. However, in order to take advantage of build
variants and other advanced features in the future,
-we strongly suggest that you generate a Gradle build file using
-the ADT plugin or write your own Gradle build file for use with Android Studio.
-For more information about the Gradle build system, see the
-<a href="http://tools.android.com/tech-docs/new-build-system/user-guide">Gradle
-Plugin User Guide</a>.</p>
+you should generate a Gradle build file using
+the ADT plugin or write your own Gradle build file for use with Android Studio.</p>
+
+<p><a href="{@docRoot}tools/studio/index.html">Learn more about Android Studio</a>.</p>