Skip to content

首次启动没有加载x5内核的问题 #2

Description

@lyloou

感谢分享;

还有一个问题,是首次启动没有加载x5内核的问题;

我的解决办法是在Application的onCreate方法中添加:
QbSdk.initX5Environment(this, QbSdk.WebviewInitType.FIRSTUSE_AND_PRELOAD, null);
这样就能在第一次启动的时候就加载了。

参考资料:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions