`
阅读更多

 今晚遇到的问题确实有点多,还有一个问题是运行安卓的时候,出现Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;                 Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files defineLandroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;

你的项目以及引用的jar中包含了多个 android-support-v4.jar, 移除多余的,留下一个即可。

 

1、打开build path。

 

2、把Library中和导入项目同名的包去掉。



 3、It is OK!

  • 大小: 33 KB
  • 大小: 19.1 KB
分享到:
评论

相关推荐

    Android 掌上校园.zip

    如果报错:Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;请删掉PalmCampus工程下lib包里的android-support-v4.jar】

    Android项目源码蚌埠掌上校园学生项目.rar

    如果报错:Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;请删掉PalmCampus工程下lib包里的android-support-v4.jar

    解决 github项目clone报错 Failed connect to github.com:443; 解决

    系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm

    commons-beanutils-1.8.3-connections.jar

    从commons-beanutils-1.8.3.jar中删除了org/apache/commons/collections目录及其下的类,避免了与commons-collections-3.2.jar一起在android中使用时报Andorid Unable to execute dex: Multiple dex files define错...

    json-lib所需全部jar包

    从commons-beanutils-1.8.3.jar中删除了org/apache/commons/collections目录及其下的类,避免了与commons-collections-3.2.jar一起在android中使用时报Andorid Unable to execute dex: Multiple dex files define错...

    vim config

    4. **颜色方案**:选择或自定义一个适合你视力的颜色主题,如`colorscheme desert`。 5. **自动缩进**:通过`set autoindent`开启自动缩进,保持代码整齐。 6. **文件类型检测**:`filetype on`启用文件类型检测,...

    Android 错误解决

    ### Android错误解决:Conversion to Dalvik format failed: Unable to execute dex: Wrapper was not properly loaded first 在Android开发过程中,开发者可能会遇到多种类型的错误提示。其中,“Conversion to ...

    linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方法

    在Linux系统中,`yum`是一个非常重要的包管理器,用于安装、更新和删除软件包。当用户在命令行输入`yum`时,系统通常会在`/usr/bin`目录下寻找该命令的可执行文件。如果出现“-bash: /usr/bin/yum: No such file or ...

    JAVA.NET.SOCKETEXCEPTION TOO MANY OPEN FILES解决方法

    JAVA.NET.SOCKETEXCEPTION TOO MANY OPEN FILES解决方法 JAVA.NET.SOCKETEXCEPTION TOO MANY OPEN FILES错误是一种常见的网络编程错误,发生在Java应用程序中, especialmente 在 Linux 操作系统中。该错误的出现是...

    ossclient客户端

    阿里云

    lambduh-execute:从 AWS Lambda 执行任何 shell 字符串或 bash 脚本

    兰姆杜执行从 AWS Lambda 执行任何 shell 字符串或 bash 脚本安装 npm i --save lambduh-execute用法 var Q = require ( 'q' ) ;var execute = require ( 'lambduh-execute' ) ;//your lambda functionexports . ...

    android-support-multidex.jar

    用于分包,解决 android 打包时报Unable to execute dex: method ID not in [0, 0xffff]: 65536

    bmi160调通bmi160的ACC+GYR_20160907.7z

    Welcome to mkscript setup progress All available chips: 4. sun8iw6p1 Choice: 4 All available platforms: 0. android Choice: 0 All available kernel: 0. linux-3.4 Choice: 0 All available boards: 5. ...

    odex2dex合并odex和 少dex的apk 为完整的apk文件

    4. 将classes.dex放到apk文件 因为apk是zip的mime编码类型,使用winzip或winrar直接拖入到apk改名为zip的压缩包中即可。 5. 不要忘记了签名,使用jdk中的arsigner和keytool打包重新签名即可。

    Red-Gate SQL Professional Toolbelt (part4)

    SQL Multi Script™ Unlimited: execute multiple scripts against multiple SQL Servers with a single click SQL Comparison SDK ™: automate functionality with our APIs SQL Object Level Recovery Native™:...

    Red-Gate SQL Professional Toolbelt (part1)

    SQL Multi Script™ Unlimited: execute multiple scripts against multiple SQL Servers with a single click SQL Comparison SDK ™: automate functionality with our APIs SQL Object Level Recovery Native™:...

    Red-Gate SQL Professional Toolbelt (part2)

    SQL Multi Script™ Unlimited: execute multiple scripts against multiple SQL Servers with a single click SQL Comparison SDK ™: automate functionality with our APIs SQL Object Level Recovery Native™:...

    Red-Gate SQL Professional Toolbelt (part3)

    SQL Multi Script™ Unlimited: execute multiple scripts against multiple SQL Servers with a single click SQL Comparison SDK ™: automate functionality with our APIs SQL Object Level Recovery Native™:...

    qt-sql-odbc-prog-example:使用Qt SQL库和unixODBC ODBC驱动程序管理器通过ODBC驱动程序访问Microsoft SQL Server的示例代码和参考文档

    qt-sql-odbc-prog-example ==================== 作者:William.L 电子邮件: SlideShare: ://www.slideshare.net/wiliwe/ 目的 示例代码:###### Linux上Qt ODBC数据库访问的使用说明######

    替代Windows的runas的好工具Lsrunas

    /command: specifies the command to execute and the parameters /runpath: specifies the path where the command should start Examples: --------- lsrunas /user:administrator /password:s3cr3tp@ssw0rd /...

Global site tag (gtag.js) - Google Analytics