Loading docs/html/sdk/installing/migrate.jd +11 −10 Original line number Original line Diff line number Diff line Loading @@ -15,26 +15,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 Eclipse, select <strong>File > Export</strong>.</li> <li>In the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle <li>In the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle build files</strong>.</li> 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> <strong>Finish</strong>.</li> </ol> </ol> <p>Your selected projects remain in the same location but now contain a {@code build.gradle} <p>Your selected project remains in the same location but now contains a {@code build.gradle} file and are ready for Android Studio.</p> file and is ready for Android Studio.</p> <h2 id="Export">Import into Android Studio</h2> <h2 id="Export">Import into Android Studio</h2> <ol> <ol> <li>In Android Studio, select <strong>File > Import Project</strong>.</li> <li>In Android Studio, close any projects currently open. You should see the <li>Locate a project you exported from Eclipse, select the project's root directory and <strong>Welcome to Android Studio</strong> window.</li> click <strong>OK</strong>.</li> <li>Click <strong>Import Project</strong>.</li> <li>Select <strong>Create project from existing sources</strong> and click <li>Locate the project you exported from Eclipse, expand it, select the <strong>Next</strong>.</li> <strong>build.gradle</strong> file and click <strong>OK</strong>.</li> <li>Follow the walk-through to complete the import process.</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> </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 read <a href="{@docRoot}sdk/installing/studio-tips.html">Tips and Tricks</a> for some help getting started.</p> help getting started.</p> Loading Loading
docs/html/sdk/installing/migrate.jd +11 −10 Original line number Original line Diff line number Diff line Loading @@ -15,26 +15,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 Eclipse, select <strong>File > Export</strong>.</li> <li>In the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle <li>In the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle build files</strong>.</li> 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> <strong>Finish</strong>.</li> </ol> </ol> <p>Your selected projects remain in the same location but now contain a {@code build.gradle} <p>Your selected project remains in the same location but now contains a {@code build.gradle} file and are ready for Android Studio.</p> file and is ready for Android Studio.</p> <h2 id="Export">Import into Android Studio</h2> <h2 id="Export">Import into Android Studio</h2> <ol> <ol> <li>In Android Studio, select <strong>File > Import Project</strong>.</li> <li>In Android Studio, close any projects currently open. You should see the <li>Locate a project you exported from Eclipse, select the project's root directory and <strong>Welcome to Android Studio</strong> window.</li> click <strong>OK</strong>.</li> <li>Click <strong>Import Project</strong>.</li> <li>Select <strong>Create project from existing sources</strong> and click <li>Locate the project you exported from Eclipse, expand it, select the <strong>Next</strong>.</li> <strong>build.gradle</strong> file and click <strong>OK</strong>.</li> <li>Follow the walk-through to complete the import process.</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> </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 read <a href="{@docRoot}sdk/installing/studio-tips.html">Tips and Tricks</a> for some help getting started.</p> help getting started.</p> Loading