1. Requirements: Access to mobile mm strong networking Payment SDK (V3.0.0), the game needs to be confused
2. Issue: Add a statement to prevent confusion by moving the MM document
-libraryjarslibs/mmbilling.3.0.0.jar-keepclass safiap.framework.** {*;} -keep class com.ccit.** {*;} -keep class ccit.** {*;}-keep class Mm.purchasesdk.**-keep class mm.purchasesdk.** {*;}
RePack the installation, error when initializing, errors log as follows
09-17 11:16:25.322:e/androidruntime (26825): JAVA.LANG.NOCLASSDEFFOUNDERROR:COM.CHINAMOBILE.MOBILEAGENT09-17 11:16:25.322:e/androidruntime (26825): at MM.PURCHASESDK.CORE.V.A (Unknown Source) 09-17 11:16:25.322:e/ Androidruntime (26825): at MM.PURCHASESDK.CORE.H.A (Unknown Source) 09-17 11:16:25.322:e/androidruntime (26825): at MM.PURCHASESDK.CORE.H.A (Unknown Source) 09-17 11:16:25.322:e/androidruntime (26825): at Mm.purchasesdk.core.i.handlemessage (Unknown Source) 09-17 11:16:25.322:e/androidruntime (26825): at Android.os.Handler.dispatchMessage (handler.java:99) 09-17 11:16:25.322:e/androidruntime (26825): at Android.os.Looper.loop (looper.java:153) 09-17 11:16:25.322:e/androidruntime (26825): at Android.os.HandlerThread.run (HANDLERTHREAD.JAVA:60)
3. Reason:
Java.lang.NoClassDefFoundError:com.chinaMobile.MobileAgent
Cannot find the definition of com.chinaMobile.MobileAgent this class, it should be confused, so keep this class a bit.
4. Workaround:
Add the following in the confusing file
-keep class Com.chinamobile*.**-keep class com.chinamobile*.**{*;}
5. Summary:
This issue should be an update to the SDK, but it is not documented in a timely manner. But mobile mm technology group to solve the problem of the speed is definitely a lever drop!
This article from the "Birds learn c change Dapeng" blog, declined reproduced!
Mobile mm strong Networking SDK Obfuscation error