v4路径与V7冲突问题

昨天用SDK更新了数据,今天用eclipse新建工程,发现出错,找了半天才发现问题所在,遂注册博客,记录问题,便于以后查阅。

eclipse报错:

 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.

原因:下载新版本后,sdk文件夹中的v7内容已经更新,而workplace中的v7文件夹没有更新,还是以前的版本,所以会出现两个版本不一样,

解决办法:将workplace中的v7文件夹删除,然后再重新导入。

原文地址:https://www.cnblogs.com/xinandming/p/4549862.html