Invalid Signature Scheme v2 after restoring
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 50/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- java
调研方向
Find the code handling APK Signature Scheme v2 during APK rebuild, likely in a signing-related class. The error indicates a content size mismatch after signature restoration, so trace how the signature is applied and how the APK content is prepared. Look for existing signature tests to understand the expected behavior and add a test that reproduces the issue with a sample APK.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Signature Scheme v2 is invalid when restoring signature back to modded APK I dumped from original APK. Works perfectly fine with other games. I'm using CorePatch 4.5 for LSPosed 1.9.2 Zygisk
To Reproduce
Steps to reproduce the behavior:
- Used version '1.3.8'
- Operating system 'Windows 11 23H2'
- Command
java -jar H:\Temp\APKEditor-1.3.8.jar d -t sig -i "H:\Temp\CarX Drift Racing 2_1.31.1_apkcombo.com.apk" -sig H:\Temp\sig
java -jar H:\Temp\APKEditor-1.3.8.jar b -t sig -i "H:\APK Tool GUI\Compiled APK\CarX Drift Racing 2_1.31.1_apkcombo.com.apk" -sig H:\Temp\sig
Log/Stacktrace
Installing...
adb: failed to install H:\APK Tool GUI\Compiled APK\CarX Drift Racing 2_1.31.1_apkcombo.com.apk_out.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1213934018.tmp/base.apk using APK Signature Scheme v2: APK content size did not verify]
Performing Streamed Install
Used apk file
https://apkcombo.com/downloader/#package=com.carxtech.carxdr2&arches=armeabi-v7a
- 主要语言
- Java
- 星标
- 2.3k
- 派生
- 417
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
REAndroid/APKEditor 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
bug
难度 4/5 3-5 天 新手友好度 38/100
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
查看 REAndroid/APKEditor 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
jenkins-infra/plugin-modernizer-tool#2070 · 1 条评论 ·
维护者通常 1 天内回复
-
Event search answers 500 when calendars, attendees or organizers holds a null element可能重新可做 关联的 PR 已关闭且未合并。 未关闭ai-driven-qa bug Minor
难度 2/5 1-3 小时 新手友好度 70/100
linagora/twake-calendar-side-service#1615 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
eclipse-tradista/tradista#371 ·
维护者通常 1 天内回复
-
critical
难度 2/5 1-3 小时 新手友好度 68/100
mars-sim/mars-sim#2199 · 2 条评论 ·
维护者通常 1 天内回复