申请给予"转换到的Dalvik格式失败,错误1"试图运行错误 [英] Application giving "Conversion to Dalvik format failed with error 1" error while trying to run
问题描述
我已经开发了一个机器人application.But当我试图运行C的显示错误消息的$ C $
描述资源路径位置类型
-------------------------------------------------- -------------------------------
转换为Dalvik的VMSApplication未知的Android包装问题
格式失败,
错误1
有一个人之前,面对这个问题...
在此先感谢
-
[2011-06-24 16点34分45秒 - VMSApplication]霉素在org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
[2011-06-24 16点34分45秒 - VMSApplication]霉素在org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2011-06-24 16点34分46秒 - VMSApplication]霉素1的错误;中止
[2011-06-24 16点34分46秒 - VMSApplication]转换为的Dalvik格式失败,错误1
你不说你正在运行或什么平台什么版本的Android SDK的。你可以试试这个解决方案,适用于Windows 7解决方法:
确认的问题是由ProGuard的命令行中的文件
引起
[Android的SDK安装目录] \工具\ ProGuard的\ BIN \ proguard.bat
编辑下面的行会解决这个问题:
通话%java_exe%罐子%PROGUARD_HOME%\ lib目录\ proguard.jar%*
到
通话%java_exe%罐子%PROGUARD_HOME%\ lib目录\ proguard.jar%1%2%3%4%5%,6%,7%,8%,9
I have developed an android application.But when i try to run the code its shows error message
Description Resource Path Location Type
---------------------------------------------------------------------------------
Conversion to Dalvik VMSApplication Unknown Android Packaging Problem
format failed with
error 1
Has someone faced this problem before...
Thanks in advance
--
[2011-06-24 16:34:45 - VMSApplication] Dx at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
[2011-06-24 16:34:45 - VMSApplication] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2011-06-24 16:34:46 - VMSApplication] Dx 1 error; aborting
[2011-06-24 16:34:46 - VMSApplication] Conversion to Dalvik format failed with error 1
You don't say what version of the android SDK you are running or what platform. You might try this solution for Windows 7 Solution:
Confirmed the problem is caused by ProGuard command line in the file
[Android SDK Installation Directory]\tools\proguard\bin\proguard.bat
Edit the following line will solve the problem:
call %java_exe% -jar "%PROGUARD_HOME%"\lib\proguard.jar %*
to
call %java_exe% -jar "%PROGUARD_HOME%"\lib\proguard.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
这篇关于申请给予"转换到的Dalvik格式失败,错误1"试图运行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!