Enabling ProGuard in Eclipse for Android
Posted
by
Ted Hopp
on Stack Overflow
See other posts from Stack Overflow
or by Ted Hopp
Published on 2011-01-19T07:14:25Z
Indexed on
2012/03/22
23:29 UTC
Read the original article
Hit count: 250
The new documentation on ProGuard for Android says to add a line to the default.properties file in the project home directory. However, on opening this file, I read at the top:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
Am I missing something?
Also, is there a way to enable ProGuard only for a production build from Eclipse (i.e., when exporting the finished product)?
© Stack Overflow or respective owner