I have some doubts in steps of preparing the application to be published.
I have reached step on Preparing for Release guide. So I only need to do these remaining steps?
-
I use Eclipse, export the Application using Export Wizard. But then, in Building with Eclipse section:
The Export Wizard compiles your application for release, signs your
application with your private key, and optimizes your application with
the zipalign tool.Do I need to zipalign again?
- Obfuscate the application.
Feel free to edit my post if I miss something. Thanks a lot!
No, you don’t need to run zipalign again. ADT will do that for you when you export a signed application package.
You don’t need to obfuscate your code yourself, so long as you have ProGuard configured properly. When you export a signed application package (which builds your application in release mode), ProGuard will obfuscate your code for you.
Enabling proguard is as simple as adding
proguard.config=proguard.cfgto your project.properties file if you have the automatically generated proguard.cfg in your project root.You really just need to follow the signing instructions. They are pretty straightforward and will guide you through all the necessary steps.