Skip to content

[Bug] Optimize app broke on A16 #13

Closed

Description

@aayushrautela

Steps to reproduce/复现步骤

Try to optimize a patched app.
Logs:
FATAL EXCEPTION: main
Process: org.lsposed.npatch, PID: 20907
java.lang.NoSuchMethodError: No interface method performDexOptMode(Ljava/lang/String;ZLjava/lang/String;ZZLjava/lang/String;)Z in class Landroid/content/pm/IPackageManager; or its super classes (declaration of 'android.content.pm.IPackageManager' appears in /system/framework/framework.jar)
at R.m.p(r8-map-id-e66230ede829b12dd8b94d77f9337c27649cd6268cf047b8f97d384fba2ab4f5:52)
at k4.a.f(r8-map-id-e66230ede829b12dd8b94d77f9337c27649cd6268cf047b8f97d384fba2ab4f5:6)
at D4.D.run(r8-map-id-e66230ede829b12dd8b94d77f9337c27649cd6268cf047b8f97d384fba2ab4f5:114)
at com.google.common.util.concurrent.g.run(r8-map-id-e66230ede829b12dd8b94d77f9337c27649cd6268cf047b8f97d384fba2ab4f5:134)
at K4.j.run(r8-map-id-e66230ede829b12dd8b94d77f9337c27649cd6268cf047b8f97d384fba2ab4f5:3)
at K4.a.run(r8-map-id-e66230ede829b12dd8b94d77f9337c27649cd6268cf047b8f97d384fba2ab4f5:85)
Suppressed: I4.g: [r0{Cancelling}@349805, Dispatchers.Main.immediate]

Expected behaviour/预期行为

It should optimize the app

Actual behaviour/实际行为

App crashes

Xposed Module List/Xposed 模块列表

Snap enhanced

NPatch version/NPatch 版本

470 C/I

Android version/Android 版本

16

Shizuku version/Shizuku 版本

13.5

Version requirement/版本要求

  • I am using latest debug CI version of NPatch and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志

Apk file/Apk 文件

No response

Logs/日志

crash-org-lsposed-npatch-06_10-12-14-55_269.zip

Details
# Replace this line with the log / 将此行用日志替换

Activity

  1. JingMatrix commented on Oct 6, 2025

    @JingMatrix
    Collaborator
  2. winte1 commented on Oct 10, 2025

    @winte1

    我的安卓12也不能用,打包的软件安装后打开出错再次能打开但模块不工作!

  3. HSSkyBoy commented on Apr 27, 2026

    @HSSkyBoy
    Member

    新版本已修复,可前往 t.me/ONPatch 阐释最新版本

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions