早上遇到同样问题,去官网下载了个包,没问题了
期间还看了下 logcat,应该是忘记配置某个 jar 的混淆规则了
···
--------- beginning of crash
2019-11-19 10:09:39.333 32210-32210/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.tencent.wework, PID: 32210
java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.mmkv.MMKV.initialize(java.lang.String) (tried Java_com_tencent_mmkv_MMKV_initialize and Java_com_tencent_mmkv_MMKV_initialize__Ljava_lang_String_2)
at com.tencent.mmkv.MMKV.initialize(Native Method)
at
com.tencent.mmkv.MMKV.aW(MMKV.java:59)
at com.tencent.mm.app.MMApplicationWrapper.onBaseContextAttached(MMApplicationWrapper.java:43)
at com.tencent.mm.app.MMApplicationLike.onBaseContextAttached(MMApplicationLike.java:107)
at com.tencent.wework.launch.wxapp.WxAppLifecycle.onAttachBaseContext(WxAppLifecycle.java:41)
at com.lazzzest.arch.lifecycle.BootApplicationWrapper.onAttachBaseContext(BootApplicationWrapper.java:35)
at com.tencent.wework.launch.WwApplicationLike.attachBaseContext(WwApplicationLike.java:107)
at android.app.Application.attach(Application.java:237)
at android.app.Instrumentation.newApplication(Instrumentation.java:1121)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1128)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6133)
at android.app.ActivityThread.access$1200(ActivityThread.java:235)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1768)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:6990)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$
MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)
···