Build an Android development environment

Source: Internet
Author: User

1. Download and install the JDK, note the operating system version
2. Download the integrated development environment ADT bundle to the Android website
3. Configure Environment variables:
(1) New sdk_home system variable, add the installation directory of the SDK;
(2) Add the directory of two folders tools and Platform-tools to the environment variable path:
";%sdk_home%\tools;%sdk_home%\platform-tools;"

Test environment variable is successful:
In the Windows Terminal Input command "adb shell", if prompted error:more than one device and emulator, enter the command "ADB devices" to see if there are multiple devices or virtual machines.
If multiple devices are found, you need to specify the serial number of the device for the ADB command, plus the parameter-S.
For example:
C:\USERS\ADMINISTRATOR>ADB Shell
Error:more than one device and emulator

C:\USERS\ADMINISTRATOR>ADB devices
List of devices attached
015D483BB053FA18_RNDISADB Device
emulator-5554 Device


C:\users\administrator>adb-s emulator-5554 Shell
[Email protected]:/#

4. Managing the SDK in Eclipse;
5. Create the AVD simulator in eclipse

Build an Android development environment

Related Article

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.