zoukankan      html  css  js  c++  java
  • Jar mismatch! Fix your dependencies

    1、在Android开发中,会遇到包名不一致的情况,如下所示

    [2015-11-21 11:56:03 - test] Found 2 versions of android-support-v4.jar in the dependency list,
    [2015-11-21 11:56:03 - test] but not all the versions are identical (check is based on SHA-1 only at this time).
    [2015-11-21 11:56:03 - test] All versions of the libraries must be the same at this time.
    [2015-11-21 11:56:03 - test] Versions found are:
    [2015-11-21 11:56:03 - test] Path: D:workspace estlibsandroid-support-v4.jar
    [2015-11-21 11:56:03 - test]     Length: 627582
    [2015-11-21 11:56:03 - test]     SHA-1: db0f122c99ef9f90dbab3fada6d191f2880cbb8e
    [2015-11-21 11:56:03 - test] Path: D:workspacelibrarylibsandroid-support-v4.jar
    [2015-11-21 11:56:03 - test]     Length: 385685
    [2015-11-21 11:56:03 - test]     SHA-1: 48c94ae70fa65718b382098237806a5909bb096e
    [2015-11-21 11:56:03 - test] Jar mismatch! Fix your dependencies    
     
    分析  :有2个v4的jar包
    解放方案 :直接覆盖v4jar,就是保持 两个包一样, 就是保证引用类库的v4包与lib文件下的包一致。
  • 相关阅读:
    线程模型及线程池原理
    Python装饰器
    CentOS下yum源配置
    Windows下右键增加Typora选项
    Python批量修改文件名
    《财务自由之路》读后感
    python字典练习01
    《亲密关系》读后感
    Git远程仓库
    《生命是什么》读后感
  • 原文地址:https://www.cnblogs.com/luoyangcn/p/4984813.html
Copyright © 2011-2022 走看看