Android project referencing different libraries causes multiple ANDROID-SUPPORT-V4 package conflict issues

Source: Internet
Author: User

Recent projects have used the V7 package, which contains V4. When I import the other library inside also bring the V4 package to cause the conflict.

There are several ways to find solutions on the Internet:

1. Delete one of the V4 packages. No, there will be an error.

2. Copy one of the packages to the same location as the other package and overwrite them. No, it will be an error.

Finally, finally find a problem, need to the library order and export jar package uncheck.

Specific steps right-Library--properties--java Build path--order and export, find the conflict jar package, if not found Android Private Libraries, will be the front of the tick to cancel, You can compile and run it.

Finally say two words, cherish life, away from Eclipse. Android Studio is a little too much trouble to learn earlier, and many of the open source libraries on GitHub don't support eclipse.

Android project referencing different libraries causes multiple ANDROID-SUPPORT-V4 package conflict issues

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.