收藏
回答

Android 11小程序中点击文本框崩溃

复现步骤:

安装Android 11 Beta

打开任意带有文本框的小程序

点击文本框,唤出输入法

小程序崩溃:

FATAL EXCEPTION: main

    Process: com.tencent.mm:appbrand0, PID: 1813

    org.a.b: org.a.b: java.lang.NoSuchFieldException: mServedView

        at org.a.a.aPv(SourceFile:287)

        at org.a.a.get(SourceFile:266)

        at com.tencent.mm.plugin.appbrand.widget.input.aj.dk(SourceFile:86)

        at com.tencent.mm.plugin.appbrand.widget.input.i$3.run(SourceFile:693)

        at com.tencent.mm.plugin.appbrand.widget.input.i.bpQ(SourceFile:741)

        at com.tencent.mm.plugin.appbrand.widget.input.i.bpS(SourceFile:880)

        at com.tencent.mm.plugin.appbrand.widget.input.i.es(SourceFile:632)

        at com.tencent.mm.plugin.appbrand.jsapi.d.h$5.run(SourceFile:2092)

        at com.tencent.mm.plugin.appbrand.z.m.runOnUiThread(SourceFile:64)

        at com.tencent.mm.plugin.appbrand.jsapi.d.h.a(SourceFile:2175)

        at com.tencent.mm.plugin.appbrand.jsapi.d.h$2.run(SourceFile:96)

复现视频:

链接: https://pan.baidu.com/s/1PVZTBjUdsqiuH1PDko47cQ 提取码: aifi

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

2 个回答

  • Belmen
    Belmen
    2020-07-02

    机型:任意(测试用的Pixel 4)

    微信版本:7.0.13

    代码片段:个人无小程序开发经验,但任何带输入框的小程序均可复现问题。今天(7月1日)仍可复现。根据stacktrace应是平台bug所致(反射访问到了不存在的field?)。

    另见https://developers.weixin.qq.com/community/develop/doc/0002e2f21e8a705bc68a85a675fc00,应该是同样的问题。

    2020-07-02
    有用
    回复
  • 疯狂的小辣椒
    疯狂的小辣椒
    2020-07-01

    你好,麻烦具体描述问题流程,提供出现问题的具体机型、微信版本号,以及能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

    2020-07-01
    有用
    回复 3
    • Belmen
      Belmen
      2020-07-04
      请见楼下回复
      2020-07-04
      回复
    • 疯狂的小辣椒
      疯狂的小辣椒
      2020-07-04回复Belmen
      麻烦再重现一次,在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,提供一下微信号,复现问题的详细时间点(如:2020-4-10 10:10)
      2020-07-04
      回复
    • Belmen
      Belmen
      2020-07-07
      该问题在7.0.15版已修复
      2020-07-07
      回复
登录 后发表内容
问题标签