ProGuard is a free Java
class file shrinker, optimizer, obfuscator, and preverifier. It detects and
removes unused classes, fields, methods, and attributes. It optimizes bytecode
and removes unused instructions. It renames the remaining classes, fields, and
methods using short meaningless names. Finally, it preverifies the processed
code for Java 6 or for Java Micro Edition.
Solution
for few errors like “Proguard returned
with error code 1.” and “Conversion to Dalvik
format failed with error 1” is to download from http://sourceforge.net/projects/proguard/files/proguard/
and just copy the ProGuard jars to android-sdk/tools/proguard/lib
Conversion to Dalvik format failed with
error 1
This error may have
various causes, but if dx is tripping over some code processed by ProGuard, you
should make sure that you are using the latest version of ProGuard. You can
just copy the ProGuard jars to android-sdk/tools/proguard/lib.
For more
details refer: Troubleshooting Link
Note: Check jar file paths are mapped properly in the proguard.cfg file.
Note: Check jar file paths are mapped properly in the proguard.cfg file.