Unable to execute dex: Multiple dex files define Landroid/support/v7/util/ThreadUtil$MainThreadCallback;

 ̄綄美尐妖づ 提交于 2019-12-10 13:49:02

问题


I am getting unable to execute dex : multiple dex file error.

Console Error:

[2015-12-22 16:39:38 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v7/util/ThreadUtil$MainThreadCallback;
[2015-12-22 16:39:38 - Talkr] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v7/util/ThreadUtil$MainThreadCallback;

below I have posted the screenshot for order and export.I cant check the android private libraries.if i checked it,My application gets slow and I cant run the application.

Order and Export:

Edit: If I uncheck all my libraries,multiple dex error would be resolved.But I am getting Thread suspended exception at Debug.

Below I have posted that debug error.

Anyone know how to solve this one.Thank You.


回答1:


In Eclipse :

  • These error occurred because I was updated my android sdk to 23 latest version and in extras Google play services,repository at the middle of my project.

  • Due to the conflict between my updated google play services version
    and appcompat v7 between my lower version,multi dex error would be
    occurred.

  • To avoid these error dont update an sdk or google play
    services at the middle of project once if you started the
    project.There will be a conflict configuration between sdk updated
    version and also in extras google play services between your project.

Edit: Always use Android studio to avoid this kind of multidex issue.



来源:https://stackoverflow.com/questions/34415101/unable-to-execute-dex-multiple-dex-files-define-landroid-support-v7-util-thread

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!