Proguard

Monkey Targets Forums/Android/Proguard

Sub_Zero(Posted 2013) [#1]
Hi

Does anyone know how to make proguard obfuscate the apk while building in release mode in monkey?

I've tried adding this line to the project.properties file in the build folder:
proguard.config=proguard.cfg


According to the proguard documentation ( http://developer.android.com/tools/help/proguard.html )this should be do the trick, but I don't see any files being output in bin/proguard when i build in release mode.

trans uses ant to build, right? I don't understand why this doesn't work.


skid(Posted 2013) [#2]
According to the documentation there should be a proguard.cfg file created in your projects root folder when you create an Android project. Can you confirm this?

[edit]

that file is present in the target template folder so I suspect it gets copied across, at some point...


Sub_Zero(Posted 2013) [#3]
Yes there is a proguard.cfg in the project root folder