Using proguard the paypal classes are not found
ERROR/AndroidRuntime(3200): Caused by: java.lang.NoClassDefFoundError: com.paypal.android.MEP.PayPal
I tried to add -libraryjars PATH_PAYPAL_LIB_JAR but it seems to change nothing, same error.
I tried to add -keepclass com.paypal.* same result
Can you provide some helps ?
You should make sure the paypal jar is in the
libsdirectory of your project. ProGuard will then process it and include it in the output jar.With the -libraryjars option, ProGuard will read it, but not include it in the output jar, so you get a NoClassDefFoundError. See the ProGuard manual.