Tencent / Tencent/libpag

Android 15 VerifyError 报错,导致 Crash

Open
#3,136 0 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Dec 8, 2025.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.4.35

【平台信息】

Android 原生

【预期的表现】

正常运行

【实际的情况】

PAGView运行时报错,在 Android15 16 复现
报错:
Caused by: java.lang.VerifyError: Verifier rejected class org.extra.toots.c: void org.extra.toots.c.onResume()
failed to verify: void org.extra.tools.c.onResume(): [0x1F] register v0 has type Reference: java.lang.Object but expected Reference: android.app.Fragnent (declaration of "arg.extra.toots.c*
截图信息如下:
Image
Image

【Demo及附件】

我们的工程结构是 apk 集成一个 使用 pag 的 aar。pag 由 apk 导入依赖(aar 不打包 pag 。
Android环境为:
gradle: 8.9
agp 版本:8.7.2
java 版本:21.0.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.