iBotPeaches / Apktool

A tool for reverse engineering Android apk files

Home Page:https://apktool.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Ignores res folder of framework.jar

chiteroman opened this issue · comments

Information

  1. Apktool Version (apktool -version) - 2.10.0-dirty
  2. Operating System (Mac, Linux, Windows) - Windows
  3. APK From? (Playstore, ROM, Other) - ROM
  4. Java Version (java --version) -
OpenJDK Runtime Environment Corretto-21.0.3.9.1 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Corretto-21.0.3.9.1 (build 21.0.3+9-LTS, mixed mode, sharing)

Apktool ignores "res" dir even I use -c. -r, "-resm keep"

I need to manually add res files to unknownFiles in apktool.yml

Res dir contains three files: android.mime.types, debian.mime.types and vendor.mime.types

Our jar parsing is probably very weak if non-source elements are packed within. Do you have a sample I can work from?