Author: willing to go to the 333 homepage:Http://blog.sina.com.cn/u/1509658847
Copyright Notice: Original works can be reproduced. During reprinting, you must mark the original publication, author information, and this statement in hyperlink form. Otherwise, you will be held legally liable.
After the ADT is upgraded to 22, a bug such as "cocould not find class" will occur in the compilation project"
I have used baidu map, so there will be no prompt for "cocould not find class 'com. baidu. mapapi. bmapmanager,
This is annoying and has been found for a long time because of the new feature bug after the ADT is upgraded,
Follow the tutorial below to summarize
You just need to check the "android private libraries" on the Order and Export interface on the Java Build Path interface.
Refer to the following URL:
Http://mobile.51cto.com/abased-394640.htm
\ ****** Reference ********\
Yesterday, we updated androidsdk and adt to the latest version, android sdk r22.
After the update, the third-party JAR package cannot be found after the original project is packaged. After searching for the third-party JAR package online for half a day, the problem is finally found.
The new version has an Android Private Libraries structure, which is useless, for example:
All third-party JAR packages are imported into Android Private Libraries,
Go to the Java Build Path interface and find the Order and Export interface:
Check whether the following items are checked:
I did not check Android Private Libraries. As a result, the package is not included in the package.
\* ***** Reference *****\