2011年1月10日 星期一

proguard on android tips

once you've generated a standard build.xml with "android update
project" all you need to do is set
proguard.config=/path/to/proguard.cfg

"android update project" should create a default proguard.cfg in the
root of your folder as well. This file is very close to the one we
gave in the blog post. That's all you need. no more mofiying
build.xml, as it's built-in.

As for Eclipse, proguard is there in release mode. This is when you
export a release (signed / unsigned) app. default debug (incremental)
builds are not run through proguard.

============================================
copied from google news group,
http://groups.google.com/group/android-developers/browse_thread/thread/b9924eb6db67d79f/b3a7a643f9cac5e6?hide_quotes=no

沒有留言:

張貼留言