Skip to content Skip to sidebar Skip to footer

Proguard Java.lang.nosuchmethodexception

After turning on the ProGuard I can't connect to IMAPSSLStore. Here's a bit from logcat window: A0 OK Thats all she wrote! i1mb111841581wil IMAP DEBUG: AUTH: XOAUTH IMAP DEBUG: AUT

Solution 1:

OAuth2SaslClientFactory is a class I got from here: https://code.google.com/p/google-mail-oauth2-tools/source/browse/trunk/java/com/google/code/samples/oauth2/OAuth2SaslClientFactory.java?r=3

I had to include the ProGuard line

-keep classcom.company.app.OAuth2SaslClientFactory

among others.

Post a Comment for "Proguard Java.lang.nosuchmethodexception"