Multiple dex files define Landroid/support/v7/app/ActionBar$DisplayOptions

拈花ヽ惹草 提交于 2019-12-22 11:27:36

问题


My Project shows no errors. Though when I run the application it says please fix the error before running your application. When I looked at Console tab it says

    [2015-07-10 19:50:26 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v7/app/ActionBar$DisplayOptions;
[2015-07-10 19:50:26 - NavigationDrawer] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v7/app/ActionBar$DisplayOptions;

I tried searching for the solution but haven't got any.

this is what I have for my support libraries.

Please Help. I got stuck here. Thank you in advance.


回答1:


You have added several times this same library try to delete it to get only one (android-support-v7-appcompat.jar).

I propose to remove last (at bottom) and first (at top).




回答2:


I do not know how you android program does, but from my experience these types of errors is the beginning of many erroes own eclipse. I recommend migrate their projects to AndroidStudio an excellent IDE that works without any kind of bugs.



来源:https://stackoverflow.com/questions/31343387/multiple-dex-files-define-landroid-support-v7-app-actionbardisplayoptions

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