转换到的Dalvik格式失败,错误1 - 导出APK [英] Conversion to Dalvik format failed with error 1 - Exporting APK

查看:334
本文介绍了转换到的Dalvik格式失败,错误1 - 导出APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要导出的apk项目,但每次我出口时我得到了一个错误说转换到的Dalvik格式失败,错误1。 我当工作在同一个项目前,面对这个错误,当我得到它,我去项目文件夹,删除文件夹类的jar文件夹仓内 但在出口APK它不工作 谁能帮我?

I want to export an apk for the project but each time i export i got an error saying Conversion to Dalvik format failed with error 1. I faced this error before while working on same project and when i get it I go to the project folder and delete jars from folder classes inside folder bin but in Exporting APK It doesn't work Can anyone help me ?

推荐答案

通常我的经验与转换到的Dalvik格式失败,错误1是,你需要做的清洁项目(如果你使用的菜单项目日食他们 - >清洁...),这通常可以解决问题。同时该项目右键单击您要导出,然后属性 - > Android的工具 - >修复项目属性

Generally my experience with 'Conversion to Dalvik format failed with error 1' is that you need to do a project clean (if you use eclipse them from menu Project -> Clean ... ) this usually fixes the problem. Also right click on the project you want to export then Properties -> Android Tools -> Fix Project properties.

如果这没有帮助你再与终端转到项目路径

If this doesn't help you then with terminal go to the project path

cd /home/username/your_project_path

然后

rm -fr bin/*

请注意:您可能需要重新启动Eclipse或至少选择项目并刷新(F5)

Note: you may need to restart eclipse or at least select the project and refresh it (F5).

希望这会帮助你,如果还是没有,请让我知道

Hope this will help you, if still doesn't , please let me know

这篇关于转换到的Dalvik格式失败,错误1 - 导出APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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