MinApp SDK功能开启混淆打包闪退

App开发相关产品技术讨论,包括OEM App、App SDK等话题


Post Reply
18117773910
Posts: 4

Line 83550: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: Process: com.olight.omall, PID: 27566
Line 83551: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
Line 83552: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at com.thingclips.android.eventbus.ThingLiveBus$1.invoke(SourceFile:25)
Line 83553: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
Line 83554: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at $Proxy72.a(Unknown Source)
Line 83555: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at com.gzl.smart.gzlminiapp.core.utils.GZLLoadingUtil.g(SourceFile:14)
Line 83556: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at com.gzl.smart.gzlminiapp.core.utils.GZLLoadingUtil.a(SourceFile:1)
Line 83557: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at com.gzl.smart.gzlminiapp.core.utils.b.run(SourceFile:1)
Line 83558: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
Line 83559: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
Line 83560: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at android.os.Looper.loop(Looper.java:237)
Line 83561: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8167)
Line 83562: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
Line 83563: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
Line 83564: 10-09 17:44:47.355 27566 27566 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)


Tags:
Beecool7
Posts: 9

Re: MinApp SDK功能开启混淆打包闪退

-keep com.gzl.smart.** { *; }
-dontwarn com.gzl.smart.**

加下这个混淆规则,然后再试下

Post Reply