简体   繁体   English

启用proguard时,转换为dalvik格式失败,错误1

[英]conversion to dalvik format failed with error 1 when enabling proguard

I'm trying to set up proguard for our existing app. 我正在尝试为我们现有的应用设置proguard。 It has a bunch of .jar files in the libs folder and these packages are specified in the build path.. They threw bunch of errors until i added -dontwarn for all the package related errors... 它在libs文件夹中有一堆.jar文件,并且这些软件包是在构建路径中指定的..它们引发了许多错误,直到我为所有与软件包相关的错误添加了-dontwarn ...

Now when I try to export, i get the converstion error without any messages in the console.. It doesn't say anything.. I looked at other questions but none of them answer my questions.. 现在,当我尝试导出时,在控制台中没有任何消息的情况下,我收到对话错误。.它什么也没说。.我看了其他问题,但没有一个回答我的问题。

I'm using the latest proguard and r15 for the SDK.. 我正在为SDK使用最新的proguard和r15。

Can anyone help? 有人可以帮忙吗?

尝试从项目的网站上获取最新的ProGuard jar,然后替换SDK文件夹中的jar。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM