Skip to content

Crash whenever open APK/XAPK #567

Description

@phucynwa

Version: 2.13.2

Reproduce:

  • Run Bytecode Viewer
  • Open any APK/APK file

Result:
App got crashed with the log:

Opening.../<File name>.apk
Unrecognized command: r
Apktool 2.12.1 - a tool for reengineering Android apk files
with smali 3.0.9 and baksmali 3.0.9
Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>
Copyright 2010 Connor Tumbleson <connor.tumbleson@gmail.com>

I think the issue comes from https://github.com/Konloch/bytecode-viewer/blob/e36a3d21284935a3f13af646327dab88f5f674a0/src/main/java/the/bytecode/club/bytecodeviewer/util/APKTool.java#L49C17-L49C21

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