Why the jar files under the Libs folder are not actively placed under the Android Private Libraries folder

Source: Internet
Author: User

In short: The problem is that the jar package is repeatedly conflicting!


At the beginning of this question I came up with a "self-righteous" answer, in the Android Private Libraries folder is packaged into the project executable, but not self-compiled because the Libs the following jar file is too large, But apparently in the execution of the time, the direct error--class not found!

So obviously that's not the problem!

Actually, it is. There is a android-support-v4.jar below the Libs folder. And suppose that you have introduced other libraries in project




If there is android-support-v4.jar in this project, then the problem arises. The V4jar package under the current project's Libs V4jar package with the included Libraryproject Libs is repeated. At this point in time, project does not place any jar packages below Libs into its own actively generated Android Private Libraries folder, and this folder will not be generated.


Workaround: Delete the Android-support-v4.jar from the current project to be able. Then Clean,build. It's OK.

Why the jar files under the Libs folder are not actively placed under the Android Private Libraries folder

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.