Install the Android operating environment

Source: Internet
Author: User

If you happen to have some old, outdated versions of the Android SDK, be sure to update the required packages to the versions mentioned below and install all the missing ones.

Installing and configuring the SDK
    1. Install the latest JDK.
    2. Use brew install android-sdk to install the Android SDK.
    3. Add it to ~/.bashrc , ~/.zshrc or any other path used by your shell: Export ANDROID_HOME=/USR/LOCAL/OPT/ANDROID-SDK
    4. Start a new shell and run it android ; In the window that appears, check:
      • Android SDK Build Tool version 23.0.1
      • Android 6.0 (API 23)
      • Android Support Repository
    5. Click "Install Packages".
Install and run the Android native emulator
    1. Start a new shell and run it android ; In the window that appears, check:

      • Intel x86 native System image (Android 5.1.1-API 22 supported)
      • Intel x86 emulator accelerator (HAXM installation)

    2. Click "Install Packages".
    3. Configure HAXM.
    4. Create an Android virtual device (AVD) using the Android simulator:
      1. Run android avd and click Create ...
      2. Select the new AVD, and clickStart...

Install the Android operating environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.