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文件下的包一致。
  • 相关阅读:
    rocketMQ配置事故
    微信网页授权问题记录
    记一次Spring配置事故
    文件转换
    Java对象空间分配流程
    mysql(六)索引的数据结构
    mysql(五)查询缓存
    mysql(四)log
    从项目中加载文件
    cookie
  • 原文地址:https://www.cnblogs.com/luoyangcn/p/4984813.html
Copyright © 2011-2022 走看看