Super basic Android Development Environment

Source: Internet
Author: User
I recently wanted to study Android, so I found a lot of information, saying that my family's book has been set up, but I didn't bring it out, so I had to do something on the company's computer ), at the request of two comrades in the group, the next article was specially set up for guidance. Let's talk less about things and get into the topic! 1. First, you must have a Java JDK. If you have any JDK, skip this step. If you do not have it, we all know that Java has been acquired by Oracle. But who is it? Download it! Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html (if you do not know birds, it is recommended to use Google browser, then you know ~) 2. Configure the environment. The windows xp sp3 system configuration is as follows:

Choose my computer> Properties> advanced> environment variables> system variables to add the following environment variables:

Java_home: D: \ Program Files \ Java \ jdk1.6.0 _ 18 (Directory where you install JDK)

The classpath value is:; % java_home % \ Lib \ tools. jar; % java_home % \ Lib \ DT. jar; % java_home % \ bin;

Path: Start appending; % java_home % \ bin;

After the installation is complete, check whether the JDK is successfully installed. Open the CMD window and enter Java-version to view the JDK version. The following figure shows that the installation is successful:

3. Install the development tool.Eclipse~

Eclipse-SDK-3.7.2-win32.zip (THUNDER copy, you know) Address: Thunder: // thunder =

-------------------------------------------The following content is written in Chinese for eclipse (skip this step if you prefer English)--------------------------------------

Authorization: http://dl3.c8.sendfile.vip.xunlei.com: 8000/babellanguagepack % 2 declipse % 2dzh % 5f3% 2e5% 2e0% 2ev20091121043401% 2 ezip? Key = Encrypt & file_url = % 2 fgdrive % 2 fresource % 2fb1% 2f69% Encrypt & file_type = 0 & authkey = Encrypt & exp_time = 1333221337 & from_uid = 7572 & task_id = 5714113881757910018 & get_uid = 1000090801 & F = signature & FID = ffvfyyso0vqr/J + urnzcismfa + signature + tov2ih + mehdh1zqnp & Mid = 666 & Threshold = 150 & tid = signature & srcid = 7 & Verno = 1

PS: How to Use: Decompress the Language Pack to the dropins folder in the eclipse folder.

(1)Eclipse.exe-nl ZHYou can create a shortcut and append the preceding parameters. Double-click the shortcut to start the Simplified Chinese version of Eclipse. (2) Open your eclipse installation directory and find eclipse. ini. Add-nl ZH at the end.

For more INS, visit: http://download.eclipse.org/technology/babel/babel_language_packs/galileo.phpCertificate --------------------- 4. Download the android JDK

Address: http://developer.android.com/sdk/index.html

Find a suitable download and install it ,(Make sure that there are no noon or spaces in all the Android and decompressed directories mentioned above. Otherwise, unexpected errors may occur.) And then open the SDK manager.exe.

Download the Android version you want, that is, the development-based platform. We recommend Android 1.6, Android 2.1, Android 2.2, and Android ~ The rest seem to have some small examples that you don't understand ~~ -Add a hook and install

Another AVD manager.exe is your android Virtual Machine. With the platform, you can enjoy yourself first! (I will not talk about it much)

PS: Do you know there is a memory card on your phone? There are also virtual machines! Where? Here, under c: \ Documents and Settings \ (your user name) \. Android \ AVD, you will be able to see your virtual machine!

Open an sdcard. IMG. This is your memory card. Are you familiar with the name? Want to open it? I also want ~ When ~ Dangdang ~ When! Use this tool: ultraiso

Address: Baidu (-I'm tired !)

After the download, configure the environment variable inAdd (remember ";") in path: absolute path of the tools in Android SDK (local: D: \ androiddevelop \ Android-SDK-Windows \ tools ).

ThenRestart your bird cmdTest:

Success!

5. Now I'm excited. It's just a small step before success! Open your eclipse.exe.

Point

Click Add

Address:Http://dl-ssl.google.com/android/eclipse (name casually)

Then

After

Next, click "agree". After the download, you will be prompted to restart eclipse. Just restart it!

6. Brand new feelings ~~ Open your eclipse. What are you waiting!

File-New-project-Diagram

The following is omitted!

Where the project is running

Only configure your project

Point that. You know, I didn't build it, so it's empty.

Then run the command!

 

From http://bbs.silverlightchina.net/home.php? MoD = Space & uid = 3009 & Do = Blog & quickforward = 1 & id = 460

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.