收藏
回答

使用WMFP框架体验小程序时抛异常

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)

回答关注问题邀请回答
收藏

1 个回答

  • 疯狂的小辣椒
    疯狂的小辣椒
    2020-04-13

    你好,在系统设置里允许硬件框架的apk后台自动运行

    2020-04-13
    有用
    回复 13
    • 张维肖
      张维肖
      2020-04-13
      登录的时候报错,是因为什么呢?
      FastExperienceActivity: error: java.lang.IllegalStateException: it.invokeToken must not be null
      2020-04-13
      回复
    • 疯狂的小辣椒
      疯狂的小辣椒
      2020-04-13回复张维肖
      需要填写快速体验的token才能打开
      2020-04-13
      回复
    • 张维肖
      张维肖
      2020-04-14回复疯狂的小辣椒
      只填写这几项不对吗?
      2020-04-14
      回复
    • 张维肖
      张维肖
      2020-04-14
      RequestsRepo: getDeviceInfo fail: Chain validation failed 这个异常是什么意思啊?
      我使用浏览器访问url,是可以的啊~
      2020-04-14
      回复
    • 张维肖
      张维肖
      2020-04-14
      像这种异常信息有专门的说明吗?完全不知道错在哪里~
      2020-04-14
      回复
    查看更多(8)
登录 后发表内容
问题标签