Living in an Android development environment with integrated ADT configuration

Source: Internet
Author: User

A Let's talk about the environment.

Windows 8.1 64-bit

Note: Win7 Ultimate 64 configuration will appear the Android SDK Manger can not start the problem, because Android.bat called Find_java.bat, and Find_java.bat in Win7 64 bit under the call location has

Problem, landlord according to the method on the net, direct write dead path, console call success, virtual machine can also

Start but can't create a virtual machine, all options are selected but click OK no response, as if not

Not only the landlord has this problem. Later to maintain a WIN8 project, installed Win8 above the problem is not

Not solved. Although the online is also a lot of configuration textbooks, but I still want to learn the whole process of Android

Remember, the province's own quickly forget.

Two People living in my environment need to download something

Java JDK 1.7 (I have chosen you can download the updated version)

adt-bundle-windows-x86_64-20140321 (Integrated ADT Development environment)

Note: I need these packages to leave a mailbox I will send you a package.

Three. Build steps

1. First you need to install the JDK, the installation will prompt you to install the JRE two installed together is.

Note: It is best to build a folder yourself in the root disk installation, afraid of the path will have spaces, I am in C drive

A Java folder was built. After installing the Java folder, it looks like this.

2. Configure environment Variables for Java

1): Location of environment variables

My Computer-"right-click Property-" Tap change Setting S "Select Advanced tab-" environment variable

2) A new name is called Java_home system variable, is the landlord, you can refer to the next

3): After the path variable is added; The semicolon in front of the%java_home%/bin also needs

4): Create a new system variable named Classpath, the contents are as follows.; %java_home%/lib;%java_home%/lib/tools.jar;%java_home%/lib/dt.jar;

Notice the previous period and semicolon

5): Save test JDK is installed.

win+ R input cmd run

Test two commands: Java and Javac, and the result is that the JDK is well-equipped.

6): Unzip the integrated development environment, arbitrarily decompression where, C disk is not very large, it is best not to extract to the C-drive, because there are still some APIs to be back, or quite large.

7): Configure ADT's PATH environment

Open the PATH environment variable variable, add the Sdk/tool and sdk/platform-tools just extracted from the two folder to complete the path, remember the front with a semicolon. Refer to My.

; C:\Java\adt-bundle-windows-x86_64-20140321\sdk\tools; C:\Java\adt-bundle-windows-x86_64-20140321\sdk\platform-tools

8): Test the ADT Integration environment for success

win+ R input cmd run

Test command ADB following instructions for success

9): Configure the download environment for the API

Open the C:\Windows\System32\drivers\etc\hosts file with Notepad, if you cannot save it, copy it to another place and then open it with Notepad and add the following code to save it back

C:\Windows\System32\drivers\etc\ Place

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com

203.208.46.146 groups.google.com

203.208.46.146 appengine.google.com

10): Run eclipse\ eclipse.exe start the development environment (you can send the shortcut desktop). Click

tools-"Options, tick the arrows pointing to save the new API you need.

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.