Jar mismatch! Fix your solution for dependencies

Source: Internet
Author: User

Recently, when compiling Android projects in Unbuntu, I encountered a lot of problems, the most recent problem is jar mismatch! Fix your dependencies seems to be a lack of dependency, to resolve the dependencies therein.
When developing an Android project, it is sometimes necessary to refer to multiple projects as a library. When referencing a project, there are sometimes "Jar mismatch! Fix your dependencies "error. This is because the jar package (Android-support-v4.jar) for two items is inconsistent.

 解决方法是把2个jar都删除,然后各自加上最新的jar包。

Right-click on the item, select the Android tool option, and then select the Add Support Library option.

This will solve the problem.

Jar mismatch! Fix your solution for dependencies

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.