summaryrefslogtreecommitdiffstats
path: root/docs/html/sdk/installing/migrate.jd
blob: 3c04cb4ce8328fca363111125dba440cb0dd4f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
page.title=Migrating to Android Studio

@jd:body

<div id="qv-wrapper">
<div id="qv">
<h2>See also</h2>
<ul>
  <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA"
  class="external-link">IntelliJ FAQ on migrating to IntelliJ IDEA</a></li>
 <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Working+in+Eclipse+Compatibility+Mode" class="external-link"
 >Eclipse Compatibility Mode</a></li>
 <li><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA" class="external-link"
 >FAQ on Migrating</a></li>
</ul>
</div>
</div>


<p>If you have been using <a href="{@docRoot}tools/help/adt.html">Eclipse with ADT</a>, be aware
that <a href="{@docRoot}tools/studio/index.html">Android Studio</a> is now the official IDE for
Android, so you should migrate to Android Studio to receive all the latest IDE updates.</p>

<p>To migrate existing Android projects, simply import them using Android Studio:</p>

<ol>
  <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 Non-Android Studio 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>Android Studio properly updates the project structure and creates the appropriate
Gradle build file.</p>

<p>For more help getting started with Android Studio and the IntelliJ user experience,
<a href="{@docRoot}tools/studio/index.html">learn more about Android Studio</a> and
read <a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA"
  class="external-link">FAQ on Migrating to IntelliJ IDEA</a>.</p>