Set up the Android environment in ubuntu: Cannot complete the install because one o

Source: Internet
Author: User

Set up the Android environment in ubuntu: Cannot complete the install because one or more required items cocould not be found

Today, I re-installed Ubuntu11.04. the following error occurs when installing ADT to build an Android Development Environment During Eclipse Configuration:

 

 


Cannot complete the install because one or more required items cocould not be found

The installation fails several times. For this reason, we found that WST Server Adapters was not installed. Therefore, we need to reinstall it.
In Help-> Install New Software, select the default system source,

Galileo Update Site-http://download.eclipse.org/releases/galileo/

(My version is Galileo v3.5.2)
You can use this method to install v3.6 on the Internet.
After installation, be sure to select Contact all update sites during installing to find required software.
After the installation is successful, you can install the ADT successfully. Then, select the androd option to set the SDK path.

Appendix: Steps for configuring the Android development environment in ubuntu:


1; sudo apt-get install eclipse2; start eclipse3; click help-> install new software-> work with; fill https://dl-ssl.google.com/android/eclipse/4; select the software what you want to install; click next; 5; click windows-> preferences-> android; config your sdk location; 6; click windows-> android sdk and avd manage-> installed packages-> update and download your ADT; 7; follow step 6, create a AVD8; create a android project and start monitor. and enjoy your android

In addition, during the final running of Eclipse, AVD fails to be created and the SD card cannot be created. After one night of tossing last night, we finally found the cause, that is, insufficient permissions.
There is a lot of information on the Internet, speaking of 64-bit machines, the need to install sudo apt-get install ia32-lib, but I checked the system version, is indeed 32-bit, so only one reason, the permission is not enough. Although chmod is constantly used to modify the permission, the system does not prompt any information. Later, I found that the Android SDK of my Linux version is attached to a disk rather than a file in the linux system. Therefore, I cannot directly modify the permissions of the NTFS disk.

Copy the file to the linux partition and use chmod to modify the permission. Then, reset the SDK path in Eclipse and create the SDK again! Note: you cannot directly use the chmod command for a folder to modify the permissions of all the files under the folder, but only the permissions of the modified folder, such as read/write and executable, but for individual files, you need to set them separately. You can refer to the Help file of the chmod command. For example, you can use chmod-R to recursively modify sub-folders and files, and then use ls-l to check whether the modification is successful.

Appendix: References.


1. http://www.bkjia.com/ OS /201110/106718.html2. There are several posts on StackOverflow about the failure to create AVD, mainly for two reasons. (1) 64-bit system version without installing ia32-lib (2) Permission is not enough, modify it

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.