相关疑难解决方法(0)

SDK 17中的Android严格依赖性检查

这不是一个问题,因为我已经找到了答案.

新的Android SDK 17对jar文件进行了更严格的依赖性检查.

与此同时,他们添加了一个我认为以前不存在的罐子.我的项目遇到了annotations.jarSDK中的新内容与我已经使用过的内容之间的冲突.如果它们具有相同的原点,那么替换另一个将起作用.

我的annotations.jar来自jetbrains,通过Guice依赖,因此替换它不起作用.这是我得到的错误:

[2012-03-22 10:54:27 - MyApp] Jar mismatch! Fix your dependencies
[2012-03-22 10:54:46 - MyApp] Found 2 versions of annotations.jar in the dependency list,
[2012-03-22 10:54:46 - MyApp] but not all the versions are identical (check is based on SHA-1 only at this time).
[2012-03-22 10:54:46 - MyApp] All versions of the libraries must be the same at this time.
[2012-03-22 10:54:46 - MyApp] Versions found are:
[2012-03-22 10:54:46 - MyApp] Path: …

dependencies android upgrade

14
推荐指数
1
解决办法
4802
查看次数

标签 统计

android ×1

dependencies ×1

upgrade ×1