Myeclipse8.6 configuration android_sdk, for Android Development (reprint)

Source: Internet
Author: User

Myeclipse8.6 deployment environment, summarize the personal Android environment configuration process (first do not rush to start the MyEclipse)

1. Download sdk:http://developer.android.com/sdk/index.html, the specific version by oneself definition, I download is android-sdk_r11-windows.zip.

2. Download ADT: I use this version of Android ADT-0.9.7, official: Http://dl.google.com/android/ADT-0.9.7.zip

3. Unzip Android-sdk_r11-windows.zip, unzip you will find Android-sdk-windows folder, open, double-click Run SDK Manager.exe, install the corresponding plug-in, I choose is all, recommended to choose all, because the convenience of their own development testing, but it takes a long time, almost half a day (decompression is dozens of MB, after installation there are two more gigabytes, then die I ... )。 It is personally recommended that these documents be placed on the C-drive.

4. Add the SDK's tools path to the path's environment variable, such as: C:\android\android-sdk-windows\tools, remember, add this path after the original is separated by semicolons, do not overwrite the path of the previous path command, otherwise, The Computer DOS command will not go in, a lot of operations can not be carried out. The path also does not contain Chinese.

5. Manually configure the MyEclipse plugin, unzip the downloaded ADT Tarball, create a new ADT folder, copy the extracted plugins and features files to it, and then cut this folder to the Dropins folder under the MyEclipse installation path. Then locate the folder configuration folder with Dropins siblings, and delete the Org.eclipse.update folder. The purpose of this is, first, if you update the Android tool directly in MyEclipse, you will not be able to create a Web project, and the existing Web project will be error-able to view, the second is that the online update is not necessarily successful, hehe, I realized, do not misunderstand, Because I failed many times in the middle.

6. Open MyEclipse, click on the Window-->preferences-->android, the path of the SDK (mentioned above, placed in the C-drive), again to note that the path is best not to include the Chinese name. If the path is entered in the SDK location and the error is displayed earlier, then the MyEclipse is turned off, Copy the Adb.exe from the Platform-tools file in the Android-sdk-windows folder into tools and add the path to the Platform-tools folder to the environment variable path, such as: C:\android\ Android-sdk-windows\platform-tools. Open MyEclipse again, find window-->preferences-->acdroid, enter the SDK location, will not error. This time will appear some Android files, click Apply, click OK, the Android related file configuration can be said to be successful.

7. Configure the virtual device, that is, run the environment, click the Window-->android SDK and AVD Manager, pop up a dialog box to select the first, is to create a virtual device, if you do not see the new, to maximize, select New, the creation of the interface to create a virtual device, Enter name, the general name version number, select Target, is the Android API, At present I choose is 2.1, but can try, the interface effect is not the same, hehe, the third item size can not be set, generally or take 256MB, finally you can create AVD.

8. Run the virtual device, select the created virtual device, click Start, so an Android virtual device is finished, and you can create your own Android project, do some small projects, small game development, slowly try it.

Reprinted from: http://blog.sina.com.cn/s/blog_832f27f80100tqoc.html

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.