I’m using IntelliJ IDEA to develop for Android.
Now I want to introduce ProGuard. IntelliJ allows me to export signed or unsigned package with ProGuard – so this is cool. My problem is workflow very painful. I need to:
- Export package.
- Email package to device.
- Install on device.
- Watch for errors (and there is lot of issues)
I want to somehow implement one-click deployment to dev device of obfuscated package.
How do I do this?
Normally, I just click “Run” or “Debug” within IDE – but it doesn’t use ProGuard.
You can automate it using a command line script and run it as an external tool from IntelliJ IDEA.
Check the answer to this question for details.