Basic development environment for [ANDROID] environment configuration (sdk/android Studio)

Source: Internet
Author: User
Tags java se

Basic development environment for [ANDROID] environment configuration (sdk/android Studio)

Blog: Blog.csdn.net/qiujuer

Website: www.qiujuer.net

Open Source Library: genius-android

Reprint Please specify source: http://blog.csdn.net/qiujuer/article/details/41800229

========================================================

Annoyed

It is necessary to say that, in fact, I know that the network in this environment configuration article is simply countless, I did not expect me to be better than theirs, after all, they are the great God!

Writing such an environment configuration article is mainly for the record, convenient for later inquiries; maybe I forgot how to configure it later, right?

Of course, the premise of writing this is because my computer yesterday failed to reinstall the system, so need to re-build the environment.

Preparing the Software

Java

: http://www.oracle.com/technetwork/java/javase/downloads/index.html

I don't think much about downloading Java ; it's just downloading the latest; currently Java SE 8u25

If you are more trouble: Jdk-8u25-windows-x64.exe (Of course 64-bit, 32-bit just forget it)

Sdk

Here you should download an ADT integrated with Eclipse

The downloaded package has the latest SDK and a combination of Eclipse that can be used directly for development.

Android Studio

I don't like using Eclipse , but I prefer to use it, although it doesn't have a formal version yet.

I got it when I downloaded it. 1.0 Release Candidate 4

Agent

Of course, when you are downloading, generally you will encounter the situation of inaccessible, this reason everyone should know clearly?

To be blunt is to use the proxy, I use the self. By. Door 7.42, the speed is good, there is no traffic limit, the following update SDK can also be used.

Xin de

In general the download process is like this, you use the agent to enter the download page, and then click to download, then your browser should be downloaded, but the speed is very slow.

Close the agent at this time, find your file in the download list, right-copy; then get a thunderbolt, go to Thunder-New task-paste-start task at this time in the download of thunder is the speed of the leverage.

In other words , the agent is used to get specific download links, and the specific download or to the Thunder to complete.

Installing the Software

Java This click-to-install is OK, but I recommend to install in their own custom folder, easy to maintain.

ADT/SDK This decompression is good, after decompression into can see the SDK.

Android Studio This is the case, you can download it now to the SDK integration version, you can also download the non-integrated EXE version, as well as the ZIP green version. I recommend the ZIP Green version, the integration SDK is even.

My file Address:

    • java-jdk:d:/dktools/java/jdk/
    • Java-jre:d:/dktools/java/jre/
    • adt/sdk:d:/dktools/android/adt/sdk/
    • Android studio:d:/dktools/android/studio/

These are ready, the following is the environment configuration.

Environment configuration

Access to the Computer information interface

Click Advanced System Settings

Click Environment Variables

Add it to the user module.

Take java-jdk as an example:

Additional parts to add:

========================================================================================java:java_homed:/ Dktools/java/jdkjre_homed:/dktools/java/jreclasspath.; %java_home%/lib;%java_home%/lib/tools.jar;%java_home%/lib/dt.jar;%jre_home%/lib/rt.jarpath%java_home%/bin/ ;%java_home%/jre/bin/===================================================================================== ===android:android_sdk_homed:/dktools/android/adt/sdkclasspath;%android_sdk_home%/platforms/android-20/ android.jarpath;%android_sdk_home%/tools/;%android_sdk_home%/platform-tools/Note: path is the tool directory for adding ANDROID ========== =============================================================================

These are all the parts that need to be added; Of course you need to put the installation directory on your Own (

d/dktools/...

) into your own directory.

Precautions

    1. The first character of the newly created CLASSPATH must contain a "."
    2. Use ";" Between each directory Split, whether it's CLASSPATH or PATH

CLASSPATH and PATH after completion

path%java_home%/bin/;%java_home%/jre/bin/;%android_sdk_home%/tools/;%android_sdk_home%/platform-tools/ CLASSPATH.; %java_home%/lib;%java_home%/lib/tools.jar;%java_home%/lib/dt.jar;%jre_home%/lib/rt.jar;%android_sdk_home%/ Platforms/android-20/android.jar 

OK, now it's done.

Verify that startup- CMD :

Java-version
Android
Update

For updates to the SDK , you can either use my update, or you can use the agent to update yourself.

Agent Update:

Start from. By. Door or other, after successful linking; access to SDK management interface- Tool - Options :

According to the settings, the Agent Plus, and then you can choose the update that needs to be updated. On the selection of personal suggestions 4.0.3 below the version of the Don't update it; waste space!

Download I updated the good:

Http://pan.baidu.com/s/1o6woCUA

There are 3 versions inside:

3 versions are the versions that can be overwritten directly after the download.

An article on the NDK Environment will be published later, if not written in detail.

[Android] Environment Configuration Basic development environment (Sdk/android Studio) (RPM)

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.