diff options
| -rw-r--r-- | docs/html/sdk/index.jd | 2 | ||||
| -rw-r--r-- | docs/html/sdk/installing/migrate.jd | 17 |
2 files changed, 15 insertions, 4 deletions
diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index 674c305..8412609 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -310,7 +310,7 @@ href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a <ul style="margin-top:50px;color:#444"> <li><a href="#Requirements">System Requirements</a></li> <li><a href="#Other">Other Download Options</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Migrate from Eclipse</a></li> + <li><a href="{@docRoot}sdk/installing/migrate.html">Migrating to Android Studio</a></li> </ul> </div> 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 > 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—Android Studio will successfully build and |
