I just recently started leveraging ProGuard to shrink/obfuscate my Android
app that uses Restlet.  I've run into a problem at the point where my app
invokes a method on a dynamic resource proxy generated by
ClientResource.wrap().

Specifically, I'm getting a "java.lang.AbstractMethodError: abstract method
not implemented" exception from inside the proxy, which suggests to me that
either ProGuard is removing a class or method I need to keep, or is
obfuscating a class or method and thereby tripping up the proxy somehow.

Has anybody run into this before?

I've tried adding 
     -keepnames public class * extends org.restlet.resource.*

to my proguard config file, but that didn't do the trick.

-Andy

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/ProGuard-on-Android-interfering-with-client-proxy-method-invocation-tp7333985p7333985.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2928548

Reply via email to