Android:Getting Started with Android Studio

來源:互聯網
上載者:User
Getting Started with Android StudioEARLY ACCESS PREVIEWDownload
Android Studio v0.1
for Windows

This download includes:

  • Android Studio early access preview
  • All the Android SDK Tools to design, test, debug, and profile your app
  • The latest Android platform to compile your app
  • The latest Android system image to run your app in the emulator

Android Studio is a new Android development environment based on IntelliJIDEA. Similar to Eclipse with theADT Plugin, Android Studio provides integrated Android developer toolsfor development and debugging. On top of thecapabilities you expect from IntelliJ,
Android Studio offers:

  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.

Caution: Android Studio is currently available asanearly access preview. Several featuresare either incomplete or not yet implemented and you may encounter bugs. If you are notcomfortable using an unfinished
product, you may want to insteaddownload (or continue to use) theADT Bundle (Eclipse with the ADT Plugin).

DOWNLOAD FOR OTHER PLATFORMSInstalling Android Studio
  1. Download the Android Studio package from above.
  2. Install Android Studio and the SDK tools:

    Windows:

    1. Launch the downloaded EXE file, android-studio-bundle-<version>.exe.
    2. Follow the setup wizard to install Android Studio.

    Mac OS X:

    1. Open the downloaded DMG file, android-studio-bundle-<version>.dmg.
    2. Drag and drop Android Studio into the Applications folder.

    Linux:

    1. Unpack the downloaded Tar file, android-studio-bundle-<version>.tgz, into an appropriate location for your applications.
    2. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and executestudio.sh.

      You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.

That's it! You're ready to start developing apps with Android Studio.

Note: On Windows and Mac, the individual tools andother SDK packages are saved within the Android Studio application directory.To access the tools directly, use a terminal to navigate into the application and locatethesdk/ directory.
For example:

Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\

Mac: /Applications/Android\ Studio.app/sdk/

Starting a Project

When you launch Android Studio for the first time, you'll see a Welcomescreen that offers several ways to get started:

  • To start building a new app, click New Project.

    This starts the New Project wizard, which helps you set up a project using an app template.

  • To import an existing Android app project, click Import Project.

    Note: If you previously developed your Android project with Eclipse, you should first use the new export feature in the ADT plugin to prepare your project with the new Gradle build system. For more information, readMigrating
    from Eclipse.

For additional help using Android Studio, read
Tips and Tricks.

As you continue developing apps, you may need to install additional versionsof Android for the emulator and other packages such as theAndroid Support Library.To install more packages,
usetheSDK Manager, which you canopen from Android Studio by clickingSDK Manager
in the toolbar.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.