https://developers.weixin.qq.com/doc/oplatform/Miniprogram_Frame/
前提:设备上未安装微信应用
在使用WMFP框架体验小程序时,发现小程序启动不起来,后台异常log如下:
04-07 15:01:03.086 22609 22609 W System.err: java.lang.UnsupportedOperationException: class org.xwalk.core.internal.XWalkViewBridge.setExtendTextAreaClientSuper
04-07 15:01:03.086 22609 22609 W System.err: at org.xwalk.core.ReflectMethod.invoke(SourceFile:57)
04-07 15:01:03.086 22609 22609 W System.err: at org.xwalk.core.XWalkView.setExtendTextAreaClient(SourceFile:1397)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.page.bj.<init>(XWebViewImpl.java:2073)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.luggage.l.g.b.b(MPPageViewRendererStandaloneXWebImpl.java:39)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.page.at.c(MPPageViewRenderer.java:10238)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.page.a.a(AbstractMPPageViewRenderer.java:342)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.page.u.o(AppBrandPageView.java:32475)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.jsapi.d.P(AppBrandComponentImpl.java:122)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.page.u.I(AppBrandPageView.java:251)
04-07 15:01:03.086 22609 22609 W System.err: at com.tencent.wmpf.g.f$4$2$1.run(WMPFBaseRuntime.java:266)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.d.a(AppBrandRuntime.java:1330)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.wmpf.g.f$4$2.run(WMPFBaseRuntime.java:2317)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.wmpf.g.f$4$3.a(WMPFBaseRuntime.java:278)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.l.a.d.a(XWebPreloader.java:64)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.wmpf.g.f$4.a(WMPFBaseRuntime.java:275)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.d$20.run(AppBrandRuntime.java:1371)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.sdk.h.b.a(Profile.kt:25)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.d.z(AppBrandRuntime.java:262)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.mm.plugin.appbrand.e.a(AppBrandRuntimeContainer.java:209)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.sdk.f.a.a(AppBrandRuntimeContainerLU.java:23)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.sdk.f.a$1.run(AppBrandRuntimeContainerLU.java:54)
04-07 15:01:03.087 22609 22609 W System.err: at android.app.Activity.runOnUiThread(Activity.java:6282)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.sdk.f.a.a(AppBrandRuntimeContainerLU.java:38)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.f.a.a(AppBrandRuntimeContainerStandaloneImpl.java:5031)
04-07 15:01:03.087 22609 22609 W System.err: at com.tencent.luggage.f.a$1.run(AppBrandRuntimeContainerStandaloneImpl.java:84)
04-07 15:01:03.087 22609 22609 W System.err: at android.os.Handler.handleCallback(Handler.java:873)
04-07 15:01:03.087 22609 22609 W System.err: at android.os.Handler.dispatchMessage(Handler.java:99)
04-07 15:01:03.087 22609 22609 W System.err: at android.os.Looper.loop(Looper.java:193)
04-07 15:01:03.087 22609 22609 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6718)
04-07 15:01:03.087 22609 22609 W System.err: at java.lang.reflect.Method.invoke(Native Method)
04-07 15:01:03.087 22609 22609 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
04-07 15:01:03.087 22609 22609 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:917)