Problems and Solutions for upgrading eclipse and ADT

Source: Internet
Author: User

Today, I upgraded the eclipse ADT to version 20, and encountered some problems. After the solution is completed, write down the memo.
First, upgrade adt20, search for it online, and then use help-> install new software to update your ADT.

The update is complete. When you enter the next time, there will be a lot of exclamation mark errors in the original project, which is caused by the referencelibrary automatically added by the previous project;


Because the new ADT version modifies the third-party jar import method, you can associate it in the project before, and referencelibrary will be automatically added to the project.
In the new version of ADT environment, you only need to create a new libs folder under the project directory. Note that libs is not Lib, and then copy the third-party jar to the folder, eclipse will automatically add this jar to the android dependencies folder. You do not have to modify it by yourself through buildpath or referencelibrary.
In addition, if multiple projects are associated, for example, when project a is set to islibaray and Project B is introduced to project, the jar compiled by Project A is automatically placed in the android dependencies folder.
Solution: Right-click the project property and choose Java build path. You will find that android dependencies is incorrect. Remove this option.

In addition, you also need to clear the old ADT plug-in time, help-> install new software-> available software sites; In the list of your original ADT check box, then execute reload on the new ADT. You can switch to the old ADT later. If you want to develop a 2.3 Application and switch to the 2.3sdk later, you need to switch to the old ADT, otherwise, you will be prompted to upgrade platform-tools.

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.