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.