From c07d57d46dd14a3f13021a7596a7f5695730b420 Mon Sep 17 00:00:00 2001 From: "smain@google.com" Date: Fri, 5 Dec 2014 20:29:42 -0800 Subject: [PATCH] fix migrate guide and other studio edits cherryick from Ic223d8fa3cd1e66ddd37b8f896fef12869be4268 Change-Id: Ic223d8fa3cd1e66ddd37b8f896fef12869be4268 --- docs/html/sdk/index.jd | 2 +- 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 674c30534194b..84126095350bf 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/
  • System Requirements
  • Other Download Options
  • -
  • Migrate from Eclipse
  • +
  • Migrating to Android Studio
  • diff --git a/docs/html/sdk/installing/migrate.jd b/docs/html/sdk/installing/migrate.jd index fbf8d5311ba1e..25464375e1086 100644 --- a/docs/html/sdk/installing/migrate.jd +++ b/docs/html/sdk/installing/migrate.jd @@ -33,10 +33,20 @@ IntelliJ, Android Studio offers:

  • And much more.
  • -

    Import into Android Studio

    +

    To migrate existing Android projects from Eclipse, +you should export your projects from Eclipse in order to generate +Gradle build files:

    -

    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.

    +
      +
    1. In Eclipse, select File > Export.
    2. +
    3. Select Generate Gradle build files inside the Android folder, then click + Next.
    4. +
    5. Click Browse to find your project to export.
    6. +
    7. Select your project from the list, click OK, then Finish.
    8. +
    + + +

    You can then import the project into Android Studio:

    1. 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.

      build.gradle file and click OK.
    2. In the following dialog, leave Use gradle wrapper selected and click OK. (You do not need to specify the Gradle home.)
    3. +

    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