Android ADT installation tips common error handling

Source: Internet
Author: User

 

Follow the installation method of the general tutorial books, except that: first open eclipse, and then click Help/install new software, as shown in:

Click the "add" button in the install interface that appears. Enter any name in the Name field and enter the ADT: https://dl-ssl.google.com/android/eclipse/in the location field, as shown in the following figure:

The "Duplicate location (repeated address)" error is prompted in the dialog box because the ADT has been installed previously. I will use another method to demonstrate it to you. If you click "OK" and wait for a while (online download), the following page is displayed:

Select Developer Tools and click Next to download the tool online:

Because online download is incredibly slow, there will be a "fake death" status. I learned from other netizens that it is not just CERNET (I often suffer from it ), even the data downloaded by China Netcom and other networks is quite slow. Some netizens said that the download was completed in the whole night (8 hours +, therefore, downloading the ADT tool online is quite unreliable. So here is a method for downloading ADT offline.

The file cannot be found during subsequent loading. Next, follow the steps above to go To the install interface. There is another note: before entering the install interface, you must unplug the network cable or disable the wireless network, even if your computer is in a disconnected network status. This is because when Google designs ADT installation, if it uses the offline installation method but makes the computer networked, it will automatically install it online, then it enters the "false" state.

The following prompt is displayed on the install page after the network cable is unplugged:

If this prompt is displayed, we can perform normal offline installation.

It's hard to install it offline, but there is a problem during the installation process:

The main error code is: The operation cannot be completed. see the details. (cannot complete the install because of a conflicting dependency. software being installed: Android ddms 10.0.1.v201103111512-110841 (COM. android. IDE. eclipse. ddms. feature. group 10.0.1.v201103111512-110841 ))

After I encountered this problem, I spent nearly an hour searching for solutions on the Internet. Although you have encountered similar problems, the solutions are different, however, after a lot of reading and summarizing, we found that everyone has a high degree of recognition for one of the solutions. Finally, I used this method to solve the problem. The following shows the method:

In fact, the solution is very simple after a big circle: the error is reported because of the eclipse version problem. The eclipse version I reported is 3.7x, similar errors may occur when many people use 3.6x on the Internet. It is accepted that the 3.5x version is stable and is said to be successful. And more developers are recommended to use the "Eclipse IDE for Java EE developers" version, the version can be downloaded on the eclipse official website (http://www.eclipse.org/downloads/), speed about K, or relatively fast. The following pictures show the steps for successfully installing ADT:

This warning is displayed during installation. Click OK to ignore it:

After successful installation, you will be prompted to restart Eclipse:

After restarting, let's verify if the ADT is successfully installed: click File/New on the menu bar to see if there are any android options. It doesn't matter. Check the other, we found the android folder in other, which proves that android ADT is successfully installed:

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.