Android 15 VerifyError 报错,导致 Crash
Open
@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*
截图信息如下:
【Demo及附件】
我们的工程结构是 apk 集成一个 使用 pag 的 aar。pag 由 apk 导入依赖(aar 不打包 pag 。
Android环境为:
gradle: 8.9
agp 版本:8.7.2
java 版本:21.0.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.