summaryrefslogtreecommitdiffstats
path: root/docs/html/sdk/installing/migrate.jd
diff options
context:
space:
mode:
authorsmain@google.com <smain@google.com>2014-12-08 09:21:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-12-08 09:21:56 +0000
commit2cfdbf5f7f087c1d214e51e6daf7193234cd19ee (patch)
treea3d8ceaa97a4023923b96b0cbc8fbd949b0bfe71 /docs/html/sdk/installing/migrate.jd
parent59a3dd7b0e3a2ecab08d7dac39a44e2188cb8bc1 (diff)
parentc07d57d46dd14a3f13021a7596a7f5695730b420 (diff)
downloadframeworks_base-2cfdbf5f7f087c1d214e51e6daf7193234cd19ee.zip
frameworks_base-2cfdbf5f7f087c1d214e51e6daf7193234cd19ee.tar.gz
frameworks_base-2cfdbf5f7f087c1d214e51e6daf7193234cd19ee.tar.bz2
Merge "fix migrate guide and other studio edits cherryick from Ic223d8fa3cd1e66ddd37b8f896fef12869be4268" into lmp-docs
Diffstat (limited to 'docs/html/sdk/installing/migrate.jd')
-rw-r--r--docs/html/sdk/installing/migrate.jd17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/html/sdk/installing/migrate.jd b/docs/html/sdk/installing/migrate.jd
index fbf8d53..2546437 100644
--- a/docs/html/sdk/installing/migrate.jd
+++ b/docs/html/sdk/installing/migrate.jd
@@ -33,10 +33,20 @@ IntelliJ, Android Studio offers:</p>
<li>And <a href="{@docRoot}tools/studio/index.html">much more</a>.</li>
</ul>
-<h2 id="import">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>
-<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>
+<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
@@ -46,6 +56,7 @@ to Android Studio, you can import your project into Android Studio.</p>
<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>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