Android development entry (1): android development entry

Source: Internet
Author: User

Android development entry (1): android development entry

1. Establish the environment

ADT (Bundle) + JDK (Installation Method Baidu)

ADT (Bundle) integrates Eclipse + ADT + android sdk

Jdk bin contains various commands;

Lib contains various libraries;

2. How do programmers Execute Program writing?

Java source program ----- compile ------------> bytecode file ----> run on Virtual Machine -----> Computer Operating System ------- computer hardware

3. Configure Environment Variables

# Set sdk environment
34 export PATH =/home/dongtian/Downloads/sdk/platform-tools: $ PATH
35 export PATH =/home/dongtian/Downloads/sdk/tools: $ PATH

# Set java environment
38 JAVA_HOME =/usr/lib/jvm/java-7-openjdk-amd64
39 export JRE_HOME =/usr/lib/jvm/java-7-openjdk-amd64/jre
40 export CLASSPATH = $ JAVA_HOME/lib: $ JRE_HOME/lib: $ CLASSPATH
41 export PATH = $ JAVA_HOME/bin: $ JRE_HOME/bin: $ PATH
42 PATH =$ {JAVA_HOME}/bin: $ PATH

4. google official development tools

Android studio http://www.androiddevtools.cn/

Simulator: Genymotion http://www.genymotion.net

 

 



 

 

 

 

 

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.