错误:Found both android-support-v4 and android-support-v13 in the dependency list.

knxw0001 2013-06-07 06:26:45
Found both android-support-v4 and android-support-v13 in the dependency list.

这是什么错?console下一直打印这些东西。工程引入了一个另一个工程(以jar包的形式),结果工程上有小红叉,但是找不到错。why?

[2013-06-07 18:22:02 - ActionBarDemo] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-06-07 18:22:02 - ActionBarDemo] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-06-07 18:22:02 - ActionBarDemo] All versions of the libraries must be the same at this time.
[2013-06-07 18:22:02 - ActionBarDemo] Versions found are:
[2013-06-07 18:22:02 - ActionBarDemo] Path: D:\workspace4android\ViewPagerIndicator\libs\android-support-v4.jar
[2013-06-07 18:22:02 - ActionBarDemo] Length: 271754
[2013-06-07 18:22:02 - ActionBarDemo] SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
[2013-06-07 18:22:02 - ActionBarDemo] Path: D:\workspace4android\ActionBarDemo\libs\android-support-v4.jar
[2013-06-07 18:22:02 - ActionBarDemo] Length: 393154
[2013-06-07 18:22:02 - ActionBarDemo] SHA-1: 307c1cc532eabbf1d135b43e5c983c9da700449d
[2013-06-07 18:22:02 - ActionBarDemo] Jar mismatch! Fix your dependencies
...全文
3075 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
aloneGirle 2014-10-21
  • 打赏
  • 举报
回复
解决了,报这个错误 是你的android-support-v4.jar在libs文件中,但是没有没有添加为类库,打开项目properties——build path,右侧add jar,将工程中libs文件里的v4包添加就可以了
aloneGirle 2014-10-21
  • 打赏
  • 举报
回复
我也碰到了这种错误,不知道怎么解决,希望谁碰到过快快帮忙解决掉啊!
knxw0001 2013-06-08
  • 打赏
  • 举报
回复
引用 2 楼 f839903061 的回复:
把你工程文件里libs文件夹里面的android-support-v13 删掉
工程中找不到v13包
雨焰 2013-06-08
  • 打赏
  • 举报
回复
把你工程文件里libs文件夹里面的android-support-v13 删掉
JasonZhu 2013-06-07
  • 打赏
  • 举报
回复
字面意思,关键应该是dependency list 不同的project,是在不同环境下建立的吗,我也不知道dependency是否一定要相同,但可能存在一定影响

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧