错误:Found both android-support-v4 and android-support-v13 in the dependency list.
2014-10-23 16:38
330 查看
============问题描述============
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
============解决方案1============
字面意思,关键应该是dependency list
不同的project,是在不同环境下建立的吗,我也不知道dependency是否一定要相同,但可能存在一定影响
============解决方案2============
把你工程文件里libs文件夹里面的android-support-v13 删掉
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
============解决方案1============
字面意思,关键应该是dependency list
不同的project,是在不同环境下建立的吗,我也不知道dependency是否一定要相同,但可能存在一定影响
============解决方案2============
把你工程文件里libs文件夹里面的android-support-v13 删掉
相关文章推荐
- eclipse导入android-support-v7-recyclerview.jar时报“The hierarchy of the type is inconsistent”错误
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- 添加android-support-v4 错误 java.lang.ClassNotFoundException: android.support.v4.view.ViewPager in loader dalvik.system.PathClassLoader
- 【Android】提示Note: This element has no attached source and the Javadoc could not be found in the attac
- 解决错误ERROR: No suitable Java found. In order to properly use the Android Developer Tools,…
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- 添加android-support-v4 错误 java.lang.ClassNotFoundException: android.support.v4.view.ViewPager in loade
- 解决Conflict with dependency 'com.android.support:support-v4' in project ':app'. Resolved versions for
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- matlab 标定箱错误:Disabling view 2 - Reason: the left and right images are found inconsistent (已解决)
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- 添加android-support-v4 错误 java.lang.ClassNotFoundException: android.support.v4.view.ViewPager in loade
- 安装maven所见错误No plugin found for prefix 'help' in the current project and in the plugin
- 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
- Error:Conflict with dependency 'com.android.support:support-v4' in project ':app'...解决方案
- Some jar(v4 support, ActionBarSherlock and etc.) import error in Android Studio
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references
- Could not find a price list in Ordered UOM xxx and Primary UOM of the item