Loading docs/html/sdk/installing/migrate.jd +28 −22 Original line number Diff line number Diff line page.title=Migrating from Eclipse page.title=Migrating to Android Studio @jd:body Loading @@ -14,34 +14,40 @@ page.title=Migrating from Eclipse </div> </div> <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> <p>To quickly start developing apps, we recommend you migrate to Android Studio, a new Android development environment powered by IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:</p> <ul> <li>Flexible Gradle-based build system.</li> <li>Build variants and multiple APK generation.</li> <li>Expanded template support for Google services and various device types.</li> <li>Rich layout editor with support for theme editing.</li> <li>Lint tools to catch performance, usability, version compatibility, and other problems.</li> <li>ProGuard and app-signing capabilities.</li> <li>Built-in support for <a href="https://developers.google.com/cloud/devtools/android_studio_templates/" class="external-link">Google Cloud Platform</a>, making it easy to integrate Google Cloud Messaging and App Engine.</li> <li>And much more.</li> </ul> <h2 id="Export">Import into Android Studio</h2> <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 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>If you've previously developed for Android using Eclipse and would like to migrate to Android Studio, you should export your projects from Eclipse in order to generate Gradle build files. You can then import your project into Android Studio.</p> <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}tools/basics/index.html">Android Studio Basics</a> for some help getting started.</p> <p class="note"><strong>Note:</strong> It's possible to import an existing Android project to Android Studio even if you <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 run projects using an existing Ant build file. However, in order to take advantage of build run projects using an existing Ant build file.</p> <p>However, in order to take advantage of build variants and other advanced features in the future, we strongly suggest that you generate a Gradle build file using the ADT plugin or write your own Gradle build file for use with Android Studio. For more information about the Gradle build system, see the <a href="http://tools.android.com/tech-docs/new-build-system/user-guide">Gradle Plugin User Guide</a>.</p> For more information about the build system, see the <a href="{@docRoot}sdk/installing/studio-build.html">Build System Overview</a>.</p> docs/html/tools/building/building-eclipse.jd +13 −12 Original line number Diff line number Diff line Loading @@ -28,18 +28,18 @@ parent.link=index.html following topics show you how to run an application, which will automatically build your application as well.</p> <p>To distribute your application, however, you must build your application in release mode and sign the <code>.apk</code> file with your own private key.</p> <p>To distribute your application, however, you must build your application in release mode and sign the <code>.apk</code> file with your own private key.</p> <p>This document shows you how to run your application on an emulator or a real device from Eclipse—all of which is done using the debug version of your application. For more information about how to sign your application with a private key for release, see <a href= "{@docRoot}tools/publishing/app-signing.html#ExportWizard">Signing Your Applications</a></p> "{@docRoot}tools/workflow/publishing/app-signing.html#ExportWizard">Signing Your Applications</a></p> <h2 id="RunningOnEmulatorEclipse">Running on the emulator</h2> <p>Before you can run your application on the Android Emulator, you must <a href= "{@docRoot}tools/devices/managing-avds.html">create an AVD</a>.</p> "{@docRoot}tools/workflow/devices/managing-avds.html">create an AVD</a>.</p> <p>To run (or debug) your application, select <strong>Run</strong> > <strong>Run</strong> (or <strong>Run</strong> > <strong>Debug</strong>) from the Eclipse menu bar. The ADT plugin will Loading Loading @@ -100,7 +100,7 @@ parent.link=index.html <li>Ensure that your development computer can detect your device when connected via USB</li> </ul> <p>Read <a href="{@docRoot}tools/device.html">Using Hardware Devices</a> <p>Read <a href="{@docRoot}tools/workflow/devices/device.html">Using Hardware Devices</a> for more information.</p> <p>Once set up and your device is connected via USB, install your application on the device by Loading Loading @@ -159,9 +159,10 @@ parent.link=index.html of the build target, a "device chooser" is shown to let you select which device to use.</li> <li>If there are no devices or emulators running that meet the requirements of the build target, ADT looks at the available AVDs. If there is an AVD that matches the build target of the project, ADT chooses that AVD. If the AVD versions are newer than the build target of the project, ADT chooses the oldest possible version of an AVD that meets the project's build target requirement.</li> target, ADT looks at the available AVDs. If there is an AVD that matches the build target of the project, ADT chooses that AVD. If the AVD versions are newer than the build target of the project, ADT chooses the oldest possible version of an AVD that meets the project's build target requirement.</li> <li>If there are no suitable AVDs, the application is not installed a console error warning tells you that there is no existing AVD that meets the build target requirements.</li> Loading docs/html/tools/eclipse/index.jd 0 → 100644 +41 −0 Original line number Diff line number Diff line page.title=Eclipse ADT @jd:body <div id="qv-wrapper"> <div id="qv"> <h2>See also</h2> <ol> <li><a href="{@docRoot}tools/sdk/index.html">Downloading Android Studio</a></li> <li><a href="{@docRoot}tools/basics/index.html">Android Studio Basics</a></li> <li><a href="{@docRoot}tools/eclipse/migrate-adt.html">Migrating to Android Studio</a></li> </ol> </div> </div> <p>The Android Developer Tools (ADT) plugin for Eclipse provides a professional-grade development environment for building Android apps. It's a full Java IDE with advanced features to help you build, test, debug, and package your Android apps. </p> <p>Android developers are encouraged to <a href="{@docRoot}tools/eclipse/migrate-adt.html">migrate to Android Studio</a> as the Eclipse ADT is no longer in active development. </p> <p>The Android Studio build system replaces the Apache Ant build software used with Eclipse ADT with an Android plugin for <em>Gradle</em>. <a href="http://www.gradle.org/">Gradle</a> is an advanced build toolkit that manages dependencies and allows you to define custom build logic. Android Studio also adds support for Maven-based build dependencies, build variants, advanced code completion and refactoring. For more details about Android Studio, see <a href="{@docRoot}tools/studio/basics.html">Android Studio basics.</a> <p>If you still wish to get started with the ADT plugin, <a href="{@docRoot}tools/eclipse/installing-adt.html">download and install the Eclipse ADT plugin.</a> </p> </div> </div> docs/html/tools/tools_toc.cs +7 −6 Original line number Diff line number Diff line Loading @@ -289,14 +289,15 @@ class="en">Platforms</span></a></li> <li class="nav-section"> <div class="nav-section-header"> <a href="<?cs var:toroot ?>tools/eclipse/index.html"> <span class="en">Eclipse ADT</span></a> <span class="en">Eclipse with ADT</span></a> </div> <ul> <li><a href="<?cs var:toroot ?>tools/eclipse/migrate-adt.html">Migrating to Android Studio</a></li> <li><a href="<?cs var:toroot ?>tools/projects/projects-eclipse.html">Projects From Eclipse with ADT</a></li> <li><a href="<?cs var:toroot ?>tools/building/building-eclipse.html">Building From Eclipse with ADT</a></li> <li><a href="<?cs var:toroot ?>tools/debugging/debugging-projects.html">Debugging From Eclipse with ADT</a></li> <li><a href="<?cs var:toroot ?>tools/testing/testing_eclipse.html">Testing From Eclipse</a></li> <li><a href="<?cs var:toroot ?>sdk/installing/migrate.html">Migrating to Android Studio</a></li> <li><a href="<?cs var:toroot ?>sdk/installing/installing-adt.html">Installing</a></li> <li><a href="<?cs var:toroot ?>tools/projects/projects-eclipse.html">Setting Up Projects</a></li> <li><a href="<?cs var:toroot ?>tools/building/building-eclipse.html">Building</a></li> <li><a href="<?cs var:toroot ?>tools/debugging/debugging-projects.html">Debugging</a></li> <li><a href="<?cs var:toroot ?>tools/testing/testing_eclipse.html">Testing</a></li> </ul> </li><!-- end of Eclipse --> Loading Loading
docs/html/sdk/installing/migrate.jd +28 −22 Original line number Diff line number Diff line page.title=Migrating from Eclipse page.title=Migrating to Android Studio @jd:body Loading @@ -14,34 +14,40 @@ page.title=Migrating from Eclipse </div> </div> <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> <p>To quickly start developing apps, we recommend you migrate to Android Studio, a new Android development environment powered by IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:</p> <ul> <li>Flexible Gradle-based build system.</li> <li>Build variants and multiple APK generation.</li> <li>Expanded template support for Google services and various device types.</li> <li>Rich layout editor with support for theme editing.</li> <li>Lint tools to catch performance, usability, version compatibility, and other problems.</li> <li>ProGuard and app-signing capabilities.</li> <li>Built-in support for <a href="https://developers.google.com/cloud/devtools/android_studio_templates/" class="external-link">Google Cloud Platform</a>, making it easy to integrate Google Cloud Messaging and App Engine.</li> <li>And much more.</li> </ul> <h2 id="Export">Import into Android Studio</h2> <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 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>If you've previously developed for Android using Eclipse and would like to migrate to Android Studio, you should export your projects from Eclipse in order to generate Gradle build files. You can then import your project into Android Studio.</p> <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}tools/basics/index.html">Android Studio Basics</a> for some help getting started.</p> <p class="note"><strong>Note:</strong> It's possible to import an existing Android project to Android Studio even if you <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 run projects using an existing Ant build file. However, in order to take advantage of build run projects using an existing Ant build file.</p> <p>However, in order to take advantage of build variants and other advanced features in the future, we strongly suggest that you generate a Gradle build file using the ADT plugin or write your own Gradle build file for use with Android Studio. For more information about the Gradle build system, see the <a href="http://tools.android.com/tech-docs/new-build-system/user-guide">Gradle Plugin User Guide</a>.</p> For more information about the build system, see the <a href="{@docRoot}sdk/installing/studio-build.html">Build System Overview</a>.</p>
docs/html/tools/building/building-eclipse.jd +13 −12 Original line number Diff line number Diff line Loading @@ -28,18 +28,18 @@ parent.link=index.html following topics show you how to run an application, which will automatically build your application as well.</p> <p>To distribute your application, however, you must build your application in release mode and sign the <code>.apk</code> file with your own private key.</p> <p>To distribute your application, however, you must build your application in release mode and sign the <code>.apk</code> file with your own private key.</p> <p>This document shows you how to run your application on an emulator or a real device from Eclipse—all of which is done using the debug version of your application. For more information about how to sign your application with a private key for release, see <a href= "{@docRoot}tools/publishing/app-signing.html#ExportWizard">Signing Your Applications</a></p> "{@docRoot}tools/workflow/publishing/app-signing.html#ExportWizard">Signing Your Applications</a></p> <h2 id="RunningOnEmulatorEclipse">Running on the emulator</h2> <p>Before you can run your application on the Android Emulator, you must <a href= "{@docRoot}tools/devices/managing-avds.html">create an AVD</a>.</p> "{@docRoot}tools/workflow/devices/managing-avds.html">create an AVD</a>.</p> <p>To run (or debug) your application, select <strong>Run</strong> > <strong>Run</strong> (or <strong>Run</strong> > <strong>Debug</strong>) from the Eclipse menu bar. The ADT plugin will Loading Loading @@ -100,7 +100,7 @@ parent.link=index.html <li>Ensure that your development computer can detect your device when connected via USB</li> </ul> <p>Read <a href="{@docRoot}tools/device.html">Using Hardware Devices</a> <p>Read <a href="{@docRoot}tools/workflow/devices/device.html">Using Hardware Devices</a> for more information.</p> <p>Once set up and your device is connected via USB, install your application on the device by Loading Loading @@ -159,9 +159,10 @@ parent.link=index.html of the build target, a "device chooser" is shown to let you select which device to use.</li> <li>If there are no devices or emulators running that meet the requirements of the build target, ADT looks at the available AVDs. If there is an AVD that matches the build target of the project, ADT chooses that AVD. If the AVD versions are newer than the build target of the project, ADT chooses the oldest possible version of an AVD that meets the project's build target requirement.</li> target, ADT looks at the available AVDs. If there is an AVD that matches the build target of the project, ADT chooses that AVD. If the AVD versions are newer than the build target of the project, ADT chooses the oldest possible version of an AVD that meets the project's build target requirement.</li> <li>If there are no suitable AVDs, the application is not installed a console error warning tells you that there is no existing AVD that meets the build target requirements.</li> Loading
docs/html/tools/eclipse/index.jd 0 → 100644 +41 −0 Original line number Diff line number Diff line page.title=Eclipse ADT @jd:body <div id="qv-wrapper"> <div id="qv"> <h2>See also</h2> <ol> <li><a href="{@docRoot}tools/sdk/index.html">Downloading Android Studio</a></li> <li><a href="{@docRoot}tools/basics/index.html">Android Studio Basics</a></li> <li><a href="{@docRoot}tools/eclipse/migrate-adt.html">Migrating to Android Studio</a></li> </ol> </div> </div> <p>The Android Developer Tools (ADT) plugin for Eclipse provides a professional-grade development environment for building Android apps. It's a full Java IDE with advanced features to help you build, test, debug, and package your Android apps. </p> <p>Android developers are encouraged to <a href="{@docRoot}tools/eclipse/migrate-adt.html">migrate to Android Studio</a> as the Eclipse ADT is no longer in active development. </p> <p>The Android Studio build system replaces the Apache Ant build software used with Eclipse ADT with an Android plugin for <em>Gradle</em>. <a href="http://www.gradle.org/">Gradle</a> is an advanced build toolkit that manages dependencies and allows you to define custom build logic. Android Studio also adds support for Maven-based build dependencies, build variants, advanced code completion and refactoring. For more details about Android Studio, see <a href="{@docRoot}tools/studio/basics.html">Android Studio basics.</a> <p>If you still wish to get started with the ADT plugin, <a href="{@docRoot}tools/eclipse/installing-adt.html">download and install the Eclipse ADT plugin.</a> </p> </div> </div>
docs/html/tools/tools_toc.cs +7 −6 Original line number Diff line number Diff line Loading @@ -289,14 +289,15 @@ class="en">Platforms</span></a></li> <li class="nav-section"> <div class="nav-section-header"> <a href="<?cs var:toroot ?>tools/eclipse/index.html"> <span class="en">Eclipse ADT</span></a> <span class="en">Eclipse with ADT</span></a> </div> <ul> <li><a href="<?cs var:toroot ?>tools/eclipse/migrate-adt.html">Migrating to Android Studio</a></li> <li><a href="<?cs var:toroot ?>tools/projects/projects-eclipse.html">Projects From Eclipse with ADT</a></li> <li><a href="<?cs var:toroot ?>tools/building/building-eclipse.html">Building From Eclipse with ADT</a></li> <li><a href="<?cs var:toroot ?>tools/debugging/debugging-projects.html">Debugging From Eclipse with ADT</a></li> <li><a href="<?cs var:toroot ?>tools/testing/testing_eclipse.html">Testing From Eclipse</a></li> <li><a href="<?cs var:toroot ?>sdk/installing/migrate.html">Migrating to Android Studio</a></li> <li><a href="<?cs var:toroot ?>sdk/installing/installing-adt.html">Installing</a></li> <li><a href="<?cs var:toroot ?>tools/projects/projects-eclipse.html">Setting Up Projects</a></li> <li><a href="<?cs var:toroot ?>tools/building/building-eclipse.html">Building</a></li> <li><a href="<?cs var:toroot ?>tools/debugging/debugging-projects.html">Debugging</a></li> <li><a href="<?cs var:toroot ?>tools/testing/testing_eclipse.html">Testing</a></li> </ul> </li><!-- end of Eclipse --> Loading