Search code examples
androideclipseproguardcordova-plugin-proguard

How do you make a signed & obfuscated android release build from inside eclipse?


My android development process is to build and debug my app in eclipse and when I'm ready to publish I produce a signed, obfuscated (with proguard) apk by running "ant release" from the shell.

Is it possible to produce a signed, proguard release from within eclipse? I'm using eclipse indigo on windows with version 13 of the ADK


Solution

  • Yes. Once you enable ProGuard by adding the proguard.config=proguard.cfg entry to project.properties, Eclipse will obfuscate your code when you export an signed package. Details here.

    BTW, you should upgrade to the latest ADT (15).