Offline Android Development Environment Installation Method

Source: Internet
Author: User

Offline Android Development Environment Installation Method

The SDK downloaded from the official website is actually a Installation tool, which does not have any content. It will take a long time to install it online. We can also download all the things that need to be installed from the download tool on the Network (you can also find them by yourself) and then directly put them in the corresponding directory, configure the SDK path in Eclipse.

The details are as follows: add-ons folder under the Android installation directory (if not, create it by yourself. The name must be "add-ons) it contains google_apis-* (* corresponding version number); in the platforms folder, it is a development platform, such as android-1.5; android-2.1_r01-windows and so on these two are 1.5 and 2.1 version of the platform; tools Folder don't worry, it seems from the official website have this. Someone may need the usb_driver folder or download it and put it in the sdk directory.

Then we need to set the path in Eclipse, click window, and then the preferences dialog box will pop up. An error may be reported. Ignore this. Click Android and add your SDK installation path in SDK Location, my D: Androidandroid-sdk-windows-1.6_r1, Apply, OK. Click window and then the pop-up dialog box for Android SDK and AVD Manager. Then, click Installed Packages to check whether something exists?

Finally, we also need to configure under PATH that is followed by the SDK tools PATH, such as my: D: Androidandroid-sdk-windows-1.6_r1tools, to be separated by a semicolon. It's easy.


In the android development environment, how does one install the sdk offline when a network disconnection occurs?

SDK Manager is only a tool used to download, install, and update sdks. To install the SDK, you must update the SDK data online.

How to configure the android development environment in Win7 ??

1. install JDK download jdk-6u24-windows-i586.exe and double-click installation, select the default location to install C: \ Program Files \ Java \ jdk1.6.0 _ 24 2 by default. after the jdk is installed, right-click my computer on the desktop and select "properties". The following page appears and select "Advanced System settings ", select "environment variable" to create a new system variable: The variable name and variable value follow the above steps. For path selection, it is best to open the path on your computer and copy it to prevent incorrect input: Eg: copy the above path and paste it to the variable value. This must be the case for all the following paths involved. Otherwise, O (∩ _ ∩) O ~ is at your own risk due to human input ~ Select the path variable. If not, create it by yourself. Generally, the path variable must be added to the added path (variable value). For different paths, add "; "This Semicolon is separated by different paths. If it is missing, jdk configuration may be successful, but subsequent jar calls will face disaster O (disaster _ warning) O ~ The path to be added here is:; % JAVA_HOME % \ bin; % JAVA_HOME % \ jre6 \ bin; if there are other paths before adding, the first one must be, for the last; optional. New variable: CLASSPATH the variable value here is as follows :.; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar. indicates the current directory. cannot be missing until now, we have completed the preliminary work of jdk configuration. Next we need to verify whether the configuration is successful. In Win7, Enter cmd and press enter, and the DOS interface will appear. If javac is input, if the following interface appears, congratulations. If jdk configuration is successful, please remind me, although jdk configuration is successful here, we still need to verify this step when writing the helloworld program. Check whether any problem occurs in the above link and check whether any problem occurs. 3. install the Android SDK and create the directory android on drive D. All the installed software will be stored in the Directory D: \ android. Download android-sdk-windows_3.3.1-all.rar and decompress it to the directory above to set the environment variables: modify the Path environment variable and add a directory at the beginning. d: \ android-sdk-windows \ tools \; pay attention to the following: Save. Next, let's verify if android is configured successfully and then merged into the DOS environment. Input: android-c. If the above interface appears, congratulations, the android configuration is successful O ~ 4. Install eclipse 3.5.2 + ADT10.0. Note that here is why eclipse3.5.2 is selected and the version is Galileo. Those who have installed the software must know that this is a blood lesson. You only need to accept this fact and then download eclipse-sdk-3.5.2-win32.zip, decompress it to D: \ android, and download ADT10.0. Run eclipse, install ADT10.0 offline, select help ----- install new software, select add, and then select the path in the dialog box to install the SDK. Select next to install the SDK and create the subdirectory d: \ android \ workspace, used to save Eclipse projects. When Eclipse is started for the first time, set this directory to the default directory of workspace. Configure the ADT plug-in: Start Eclipse,... the remaining full text>

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.