Recently in configuration Android.
or a cell phone with a roommate that didn't bring home.
My mobile phone is WP.
It's been a long day doing well.
Sigh, if someone teaches me like this, less go a lot of detours.
Nonsense not to say, steps are as follows "
First, install JDK Why do you want to install the JDK do not say it? Java write Android.
Portal:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
When the installation is complete, configure the environment variables:
Right-click My Computer, properties, advanced environment variables, system variables, new
The first step:
Variable name: java_home
Variable name: C:\jdk1.6.0_10
(Note that this is your JDK installation directory)
Step Two:
Variable name: classpath
Variable value:.; %java_home%\lib;%java_home%\lib\tools.jar
Step Three:
Variable name: Path
Variable Value:%java_home%\bin;%java_home%\jre\bin
(If there is content in the value of the variable, separated by;)
If the environment variable is configured,
Win+r pop up the Run window, enter Javac and print something and exit yourself.
Second, install Android SDK1. Install SDK Manager First
It's needless to say ...
2. Download the required resources
Then if you use the SDK Manager to select download Slow dead. Even if I modify the hosts acceleration DNS is also very slow. - -||||||||
So I think the offline installation is the most reliable ~
There are two methods of downloading:
1. Download Method One
This is where I found a relatively full ~1.0~4.2.2 (well, now 4.4.) Android fragmentation is really serious! )
Http://dl.vmall.com/c00x42abt3
2. Download Method II (recommended) refer to the latest Android ADT, SDK, Sdk_tool and other official download instructions http://blog.csdn.net/zhenyongyuan123/article/details/6060900 download. This is generally the format. Https://dl-ssl.google.com/android/repository/XXXX.ZIP
So how's Xxxx.zip? Refer to the previous version number to know the new version number almost. Or you can use the SDK Manager to download it, then go to the SDK Manager directory to find the Temp folder, there is just what to download what name. zip, this name is, directly with thunder download.
3. Installing resources
Download the SDK you need after offline ~
( at least API, Android SDK Build-tools,Android SDK Platform-tools)
Find the path to your SDK manager.
Like mine is.
C:\Users\hrsay\AppData\Local\Android\android-sdk
Next there are two ways:
Method One:
Place the compressed file under TEMP and install it with the SDK manager point.
In fact, the SDK Manager is downloaded to temp, it detects that the download is ready to install directly.
Method Two: (which none of them even had)
Extract the files from Android to the platforms directory
Unzip the Goole_apis file to the Add-ons directory
Unzip the market_licensing-r01.zip into the market_licensing directory.
Unzip the tools_r07-windows.zip into the tools directory
Unzip the Docs-2.2_r01-linux.zip to Docs.
Unzip the Samples-2.2_r01-linux.zip and Samples-2.1_r01-linux.zip into the samples directory.
Unzip the usb_driver_r03-windows.zip into the Usb_driver directory.
Take the beginning of Googlo_apis as an example:
Just download (2.3.3) For example:
Unzip it into the Add-ons folder.
(The one under PS is 4.0)
III. installation of ADT
ADT is Android development Tools
http://download.csdn.net/detail/murmured/7605937
PS: Resources are divided into one point ... How to change to 0. Upload the default one, forgot to change the.
A tool developed by Android.
To install the step-up under eclipse:
Help->install New software->add->archive-> Find Adt-22.0.1.zip (above name optional), tick developer tools-> all the way next
Four, matching virtual device (AVD) ' Open AVD (Android virtual devices) (this is just installed with the SDK Manager.) )
There must be nothing at first, click on the New button on the right. I configured this: SD card will generate an equivalent size file in the system to simulate the SD card ... So don't be too big, you know.
Click OK
Five, next to create the first Android program forgot to say eclipse. Baidu a bit very easy to find. I chose the JEE version. File--New--Android application Project
Next, you can
No accident, no error.
Right-click on the Hello World->run as->run Configuration: It will appear
Patience and so on. After the boot has appeared hello World words!!!
If you have any problems in the middle, please leave a message or Baidu a bit.
What's wrong, welcome to point out.