【bug】Unable to execute dex: Multiple dex files define

简介: This is a build path issue. Make sure your bin folder is not included in your build path. Right click on your project -> go to properties -> Build Path.

This is a build path issue.

  • Make sure your bin folder is not included in your build path.

  • Right click on your project -> go to properties -> Build Path.

  • Make sure that Honeycomb library is in your libs/ folder and not in your source folder.

  • Include the libraries in libs/ individually in the build path.

    BTW, you may want to bring in the android-support-v4 library to get Ice Cream Sandwich support instead of the Honeycomb support library.



相关文章
|
3月前
|
Android开发
【Bug】Android resource linking failed和error: failed linking references.
【Bug】Android resource linking failed和error: failed linking references.
|
Java 开发工具 Android开发
Android Studio 解决:error adding symbols: File in wrong format clang++.exe: error: linker command...
错误日志: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:externalNativeBuildDebug'.
6390 0
cl.exe is unable to create an executable file. C compiler test failed.
cl.exe is unable to create an executable file. C compiler test failed.
149 0
cl.exe is unable to create an executable file
cl.exe is unable to create an executable file
103 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
470 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
|
Java
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
84 0
编译OpenJDK12:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
编译OpenJDK12:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
97 0
编译OpenJDK8:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
编译OpenJDK8:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
81 0
Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowException,解决65536
Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowException,解决65536
66 0
|
Java
Cause: com.android.dex.DexException: Multiple dex files define Lcom
Cause: com.android.dex.DexException: Multiple dex files define Lcom
162 0
Cause: com.android.dex.DexException: Multiple dex files define Lcom