Xp+eclipse+android Development Environment Construction

Source: Internet
Author: User

Windows2008+myeclipse10+android Development Environment Collocation

Knowledge Essentials: ADT Plug-in steps for offline installation of MyEclipse in 64-bit systems

Function Description: Solve the problem of WINDOWS2008+MYECLIPSE10 online installation ADT not successful

The detailed steps are as follows:

1, installation JDK1.6

Default installation to local directory C:\Program Files (x86) \java\jdk1.6.0_43.

Set System environment variables:

Variable name java_home variable value C:\Program Files (x86) \java\jdk1.6.0_43

The variable name is added at the end of the path variable value;%java_home%\bin;%java_home%\jre\bin;

Variable name classpath variable value%java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

2, installation MyEclipse 10

Install to local directory by default C:\Users\Administrator\AppData\Local\MyEclipse

Note: After testing found MyEclipse 10 cracked need to install JDK6 (jdk-6u43-windows-i586.exe), so I installed the latest JDK7 (Jdk-7u25-windows-x64.exe) and then uninstalled, If the hack is completed, then you can install the JDK7 as needed, and set the environment variables.

3. Hosts file update

You cannot open https://dl-ssl.google.com/android/eclipse/using a browser, you need to open the C:\Windows\System32\drivers\etc directory in Explorer. After selecting the Hosts file, open with Notepad, press ENTER after the end line 127.0.0.1 localhost, add the following rows of data

203.208.46.146 dl-ssl.google.com

74.125.237.1 dl-ssl.google.com

74.125.128.189 dl-ssl.google.com

74.125.128.191 dl-ssl.google.com

Close Notepad to save the current changes.

Enter the URL https://dl-ssl.google.com/android/eclipse/in the browser and press ENTER. The contents of the display are as follows:

To install this plugin the Update mechanism from within Eclipse and provide it with the following URL:

https://dl-ssl.google.com/android/eclipse/
Instructions is available on the ADT Plugin for Eclipse page on the android.com Web site.
It proves that the changes to the hosts file take effect.

4, Android related software download installation update

1> download files directly

Http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20130729.zip, you can also open the official website http://developer.android.com/sdk /index.html, expand right download for other platforms. Click the corresponding link to download the Adt-bundle-windows-x86_64-20130729.zip file to the local e-packing directory, after the download is complete, unzip to the E:\adt-bundle-windows-x86_64-20130729 directory, and run the SDK Manager.exe file in the directory:


There are options for installing the corresponding Android version of the tool, after installation as follows:


2> download files directly

Http://dl.google.com/android/installer_r22.0.5-windows.exe, can also open the official website http://developer.android.com/sdk/index.html, Expand the right download for other platforms. Click the corresponding link to download the Installer_r22.0.5-windows.exe file to the local e-packing directory, after the download is complete, run the Setup program. The default installation directory is C:\Program Files (x86) \android\android-sdk.

Set System environment variables:

Variable name sdk_home variable value C:\Program Files (x86) \ANDROID\ANDROID-SDK

The variable name is added at the end of the path variable value;%sdk_home%\platform-tools;%sdk_home%\tools;

3> directly download the file http://dl-ssl.google.com/android/ADT-22.0.5.zip, download Adt-22.0.5.zip to the local e-packing directory, after the download is done, unzip to E:\ The ADT-22.0.5 directory.


5. Update the ADT plugin steps in MyEclipse as follows:
1> copies all directory files under directory E:\ADT-BUNDLE-WINDOWS-X86_64-20130729\SDK after the SDK is updated to C:\Program files (x86) \android\android-sdk directory.

2> Copy directory E:\ADT-22.0.5\features and directories E:\ADT-22.0.5\plugins to C:\Users\Administrator\AppData\Local\MyEclipse\ MyEclipse the 10\dropins directory.

3> Open MyEclipse, will pop up the new plugin update prompt, follow the prompts to complete the installation of ADT plug-in, you need to note that the path C:\Program files\android\android-sdk to be replaced with C:\Program Files (x86) \android\android-sdk.


Xp+eclipse+android Development Environment Construction

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.