Skip to content

华为手机:获取小程序pid失败,请检查是否在小程序首屏进行初始化错误 #48

@lic721

Description

@lic721

我用华为p9, 对小程序进行测试, 报错:
获取小程序pid失败,请检查是否在小程序首屏进行初始化错误

原因:
pid拿错值了
image

修正方法:
wxWebSocketDebugUrlFetcher.py新增代码(详情见上图):
for i in range(len(strlist)):
pidStr = strlist[i]
if pidStr.find('com.tencent.mm')>=0:
pid = strlist[i+1].split("\r\n")[0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions