Android的出口给予"转换到的Dalvik格式失败ERROR1"格式、QUOT、Android、Dalvik

2023-09-05 06:00:59 作者:斯文败类

当我尝试导出我的Andr​​oid项目中,我发现了以下月食错误消息转换为的Dalvik格式失败ERROR1

When i try to export my android project i'm getting the following eclipse error message "Conversion to Dalvik format failed error1""

我尝试以下步骤,但没有运气。

i try the following steps but no luck..

在项目»清洁 添加 -Xms128m / -Xmx512m 的eclipse.ini 在重新启动的Eclipse -clean选项 Project » Clean add -Xms128m /-Xmx512m to eclipse.ini Restarting Eclipse with the -clean option

导出步骤:   - 右键单击​​项目 - >导出 - >下的android的选择导出Android应用程序

Export Steps: - Right click on project->export->android under that select the "export android application"

推荐答案

禁用工程菜单自动构建,手动重建它(右键单击项目 - >生成项目),然后再次尝试导出应用程序。

Disable "Build Automatically" on "Project Menu" and rebuild it manually (Right click on project -> Build project), then try to export the application again.

的Eclipse似乎与出口相冲突,同时编译。所以每次你需要导出APK,禁用自动构建。它是安全使用的任何其他时间。

Eclipse seems to conflict with export and compile simultaneously. So every time you need to export an APK, disable automatic build. It's safe to use it any other time.

 
精彩推荐
图片推荐