zoukankan      html  css  js  c++  java
  • Unable to execute dex: Multiple dex files define Landroid错误解决

    转自:http://www.chenwg.com/android/unable-to-execute-dex-multiple-dex-files-define-landroid%E9%94%99%E8%AF%AF%E8%A7%A3%E5%86%B3.html

    今天在使用actionbarsherlock的时候,新建一个项目,然后运行的时候出现以下错误:

    [2013-04-08 11:47:39 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
    [2013-04-08 11:47:39 - ActionBarsTest] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
    [2013-04-08 11:49:45 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
    [2013-04-08 11:49:45 - ActionBarsTest] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
    [2013-04-08 11:50:37 - ActionBarsTest] Found 2 versions of android-support-v4.jar in the dependency list,
    [2013-04-08 11:50:37 - ActionBarsTest] but not all the versions are identical (check is based on SHA-1 only at this time).
    [2013-04-08 11:50:37 - ActionBarsTest] All versions of the libraries must be the same at this time.
    [2013-04-08 11:50:37 - ActionBarsTest] Versions found are:
    [2013-04-08 11:50:37 - ActionBarsTest] Path: F:\android\source\20130407\threemaincomponent\workplace\ActionBarsTest\libs\android-support-v4.jar
    [2013-04-08 11:50:37 - ActionBarsTest] Length: 385685
    [2013-04-08 11:50:37 - ActionBarsTest] SHA-1: 48c94ae70fa65718b382098237806a5909bb096e
    [2013-04-08 11:50:37 - ActionBarsTest] Path: F:\android\source\20130407\threemaincomponent\JakeWharton-ActionBarSherlock-e5c2d1c\library\libs\android-support-v4.jar
    [2013-04-08 11:50:37 - ActionBarsTest] Length: 271754
    [2013-04-08 11:50:37 - ActionBarsTest] SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
    [2013-04-08 11:50:37 - ActionBarsTest] Jar mismatch! Fix your dependencies

    解决方法是将ActionBarsTest项目的android-support-v4.jar删掉,然后使用actionbarsherlock的android-support-v4.jar

  • 相关阅读:
    服务详解网址
    WCF、WebAPI、WCFREST、WebService之间的区别
    ql常见面试题 受用了
    用VSCode写python的正确姿势
    C#集合类型大盘点
    ASP.NET Web API 创建帮助页
    C#中IEnumerable、ICollection、IList、List之间的区别
    [WCF REST] 一个简单的REST服务实例
    sql存储过程算法
    oracle 存储过程
  • 原文地址:https://www.cnblogs.com/hxxy2003/p/3009416.html
Copyright © 2011-2022 走看看