无法执行DEX:多DEX文件定义Landroid /支持/ V7 / UTIL / ThreadUtil $ MainThreadCallback; [英] Unable to execute dex: Multiple dex files define Landroid/support/v7/util/ThreadUtil$MainThreadCallback;

查看:605
本文介绍了无法执行DEX:多DEX文件定义Landroid /支持/ V7 / UTIL / ThreadUtil $ MainThreadCallback;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我越来越无法执行DEX:多DEX文件错误

控制台错误:

  [2015年12月22日16点39分38秒 - 地塞米松装载机]无法执行DEX:多DEX文件定义Landroid /支持/ V7 / UTIL / ThreadUtil $ MainThreadCallback;
[2015年12月22日16点39分38秒 - Talkr]转换为Dalvik的格式失败:无法执行DEX:多DEX文件定义Landroid /支持/ V7 / UTIL / ThreadUtil $ MainThreadCallback;

下面我已经发布的截图秩序和export.I不能检查的android私人libraries.if我检查,我的应用程序变得缓慢,我不能运行应用程序。

订购和导出:

在这里输入的形象描述

编辑:如果我取消我所有的图书馆,多DEX错误将resolved.But我得到线程暂停例外位于调试

下面我张贴调试错误。

在这里输入的形象描述

任何人知道如何解决这个one.Thank你。<​​/ P>

解决方案

    发生
  • 这些错误,因为我在我的Andr​​oid SDK中更新为23
    最新版本,并在谷歌演员在扮演服务,资料库
    我的项目中间。

  • 由于我的更新谷歌播放服务版本结果之间的矛盾
    和我的低版本的应用程序兼容性V7,多DEX错误将结果
    发生了。

  • 要避免这些错误不更新SDK或谷歌搜索玩
    在项目的中间服务,一旦你开始搜索
    project.There将SDK更新的结果之间有冲突配置
    版本以及在谷歌额外的项目之间的播放服务。

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.

解决方案

  • 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.

这篇关于无法执行DEX:多DEX文件定义Landroid /支持/ V7 / UTIL / ThreadUtil $ MainThreadCallback;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆