Conflict resolution at the time of quoting Android-support-v4.jar
When developing applications, it's hard to avoid using many third-party open source projects that use the Android-support-v4.jar package, and my project uses it.
Plus, there are a variety of complex citation relationships between these open source projects.
In this way, references and references may appear android-support-v4.jar conflict issues, similar to:
Jar mismatch! Fix your dependencies
Found 2 versions of Android-support-v4.jar in the dependency list,but isn't all the versions is identical
My workaround is to:
Create a new empty project that only puts a version of the correct Android-support-v4.jar package under libs/.
Delete your project, as well as all the android-support-v4.jar you reference in the project.
For each project that requires Android-support-v4.jar, increase the reliance on the empty project created in step 1.
Properties > android> Library box > Add
In this way, the v4.jar used in the whole project can be guaranteed to be single-case.
Conflict resolution at the time of quoting Android-support-v4.jar