Skip to content

[BUG] apktool d spits out an error #3869

@OptiqueOnGit

Description

@OptiqueOnGit

Information

  1. Apktool Version (apktool -2.11.1) -
  2. Operating System (Windows) -
  3. APK From? (adb pull) -
  4. Java Version (java --23.0.1) -
Microsoft Windows [Version 10.0.19045.5796]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\apktool>apktool d com.widgetable.theme.android.apk
I: Using Apktool 2.11.1 on com.widgetable.theme.android.apk with 8 threads
I: Baksmaling classes.dex...
I: Loading resource table...
I: Baksmaling classes10.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes6.dex...
I: Baksmaling classes5.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes2.dex...
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.directory.DirectoryException: java.nio.file.NoSuchFileException: com.widgetable.theme.android
        at brut.androlib.res.ResourcesDecoder.decodeResources(SourceFile:177)
        at brut.androlib.ApkDecoder.decodeResources(SourceFile:212)
        at brut.androlib.ApkDecoder.decode(SourceFile:83)
        at brut.apktool.Main.main(SourceFile:244)
Caused by: brut.directory.DirectoryException: java.nio.file.NoSuchFileException: com.widgetable.theme.android
        at brut.directory.ZipRODirectory.<init>(SourceFile:54)
        at brut.directory.ExtFile.getDirectory(SourceFile:51)
        at brut.androlib.res.ResourcesDecoder.decodeResources(SourceFile:175)
        ... 3 more
Caused by: java.nio.file.NoSuchFileException: com.widgetable.theme.android
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
        at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197)
        at java.base/java.nio.file.Files.readAttributes(Files.java:1865)
        at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1512)
        at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:744)
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:254)
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:181)
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:195)
        at brut.directory.ZipRODirectory.<init>(SourceFile:52)
        ... 5 more

link to file apk and framework
https://drive.google.com/drive/folders/1ndZzJwng-7E8UA9vYQxTXtiiiYSbEOSG?usp=sharing

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