* commit 'c1032ccae3511de06cf76a700627c41f0b71209e': revise migrating to Studio procedure
This commit is contained in:
@@ -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 the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle
|
||||
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>
|
||||
</ol>
|
||||
|
||||
<p>Your selected projects remain in the same location but now contain a {@code build.gradle}
|
||||
file and are ready for Android Studio.</p>
|
||||
<p>Your selected project remains in the same location but now contains a {@code build.gradle}
|
||||
file and is ready for Android Studio.</p>
|
||||
|
||||
|
||||
<h2 id="Export">Import into Android Studio</h2>
|
||||
<ol>
|
||||
<li>In Android Studio, select <strong>File > Import Project</strong>.</li>
|
||||
<li>Locate a project you exported from Eclipse, select the project's root directory and
|
||||
click <strong>OK</strong>.</li>
|
||||
<li>Select <strong>Create project from existing sources</strong> and click
|
||||
<strong>Next</strong>.</li>
|
||||
<li>Follow the walk-through to complete the import process.</li>
|
||||
<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>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 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
|
||||
help getting started.</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user