Conversion to Dalvik format failed with error 1

来源:互联网 发布:http post json 工具 编辑:程序博客网 时间:2024/05/18 02:33

这个错误有好几种情况引起的!网上有!

如果你是加入了proguard后引起,你可以参考下面的方式,可以解决问题;

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
这是stackoverflow上面解决办法,我的问题就通过这个方式解决的;