Eclipse Android Development Environment Building

Source: Internet
Author: User

Prerequisites, the Java SDK and Eclipse are built

Download the Android SDK and install it (official website:http://sdk.android-studio.org/ )

Locate the installation directory and run "SDK Manager.exe"

Follow the example and your own needs, install packages

* * may be slow to install packages, the following agents are recommended

Specific methods:

Configuration steps
    1. Launch Android SDK Manager, open the main interface, select "tools", "options...", pop up the "Android SDK manager-settings" window;
    2. In the "Android SDK manager-settings" window, fill in and in the "http proxy server" and "http proxy port" input mirrors.neusoft.edu.cn boxes 80 , and select "force https://... Sources to is fetched using http://..."check box. Click the "close" button to close the "Android SDK manager-settings" window and return to the main screen after Setup is complete.
    3. Select "packages", "reload".
    4. Because some network access providers are hijacked, the user authentication interface will not be available, and this mirror server configuration is irrelevant.

After configuring the SDK, go to eclipse to install Android integrated development tools

Open Eclipse "Help" under Select Eclipse Marketplace input ADT (Android development Tool) and find, install.

A few buttons on the top are some of the menus that Android has developed, switching the right to the Java panel when writing code (Android Java development)

Now if you create a virtual machine, the following error will occur

Find the following workaround, the pro-test is valid:

Open System Properties-environment variables--"System variables" under the GroupBox Select "New"--variable named "Android_sdk_home" (note that this variable name cannot be changed, only the name!) ),Then change the value of the variable to the location where you want to place the ". Android" folder where the AVD resides, and if you don't know where the AVD is, enter "AVD" in the search box in the lower-left corner of the WIN10

At this point you will see the location of the. Android folder where the AVD is stored.

After adding an environment variable, the following results are in Bulid setting, Android, Preferneces, Eclipse: Default debug keystore:f:\android_emulator\\. Android\debug.keystore (This generally does not have to change)

Eclipse Android Development Environment Building

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.