在项目中有个v4包,但是引入了PagerSlidingTabStrip library,由于PagerSlidingTabStrip已经引入了v4包导致出现错误,错误日记:
Found 2 versions of android-support-v4.jar in the dependency list,
but not all the versions are identical (check is based on SHA-1 only at this time).
All versions of the libraries must be the same at this time.
Versions found are:
Path: F:\sy\googleplay\libs\android-support-v4.jar
Length: 621451
SHA-1: 5896b0a4e377ac4242eb2bc785220c1c4fc052f4
Path: F:\sy\PagerSlidingTabStrip\libs\android-support-v4.jar
Length: 648327
SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd
Jar mismatch! Fix your dependencies
意思是说2个相同的包,但是version不同,导致出现,解决办法很简单,就是把其中一个v4包删除就行