Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register


Proguard keep requirments.


Total Posts: 122

Joined 2010-10-25


I just tried enabeling proguard for the first time and by default my app will not find the AntRadioServices any more. I have added
-keep class com.dsi.ant.* 

to my proguard.cfg file and that fixes the issue. I strongly susprect I can restrict this to somthing considerably smaller though.

Is there a recomended progaurd setup?      

Total Posts: 4

Joined 2011-08-22


If you are using the obfuscation in your proguard config (the default is to use obfuscation) you need to add the following line to your proguard.cfg in order for the library to find the service:

-keepnames class com.dsi.ant.IAnt

The next release of ANTLib will include a fix to remove this requirement if using obfuscation.