Android project reports an error when referencing more than two library projects. androidlibrary

Source: Internet
Author: User

Android project reports an error when referencing more than two library projects. androidlibrary

[11:33:58-myProject] Found 2 versions of android-support-v4.jar in the dependency list,
[2012-11-24 11:33:58-myProject] but not all the versions are identical (check is based on SHA-1 only at this time ).
[2012-11-24 11:33:58-myProject] All versions of the libraries must be the same at this time.
[2012-11-24 11:33:58-myProject] Versions found are:
[11:33:58-myProject] Path: E: \ adt-bundle-windows-x86-20131030 \ eclipse \ d \ workspace \ TestAndroidHelper \ libs \ android-support-v4.jar
[11:33:58-myProject] Length: 627582
[11:33:58-myProject] SHA-1: db0f122c99ef9f90dbab3fada6d191f2880cbb8e
[11:33:58-myProject] Path: E: \ Project \ framework Project \ my-dynamicload \ myProjectDL \ myMobilePay_out \ libs \ android-support-v4.jar
[11:33:58-myProject] Length: 484258
[11:33:58-myProject] SHA-1: bd6479f5dd592790607e0504e66e0f31c2b4d308
[2012-11-24 11:33:58-myProject] Jar mismatch! Fix your dependencies

 

Error Log: As shown above;

Error Description: The jar packages under the main project libs all disappear under the Android Private Libraries of build path> Libraries;

Cause of error: the same jar packages of different versions are used in the two library projects referenced by the main project, causing a conflict in the main project.

Solution to the error: one of the two library projects does not Export the conflicting jar package in Order and Export of build path> Libraries.


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.