Skip to content

[BUG] Can't decompile Yo-Kai Watch Puni Puni #3165

Description

@SuperTavor

Information

  1. Apktool Version (apktool -2.8.0) -
  2. Operating System (Windows) -
  3. APK From? (Other) -
  4. Java Version (java --8) -

Stacktrace/Logcat

C:\Users\yehon\Downloads\2.0>apktool d yokai-watch-puni-puni-4-98-0.apk
I: Using Apktool 2.8.0 on yokai-watch-puni-puni-4-98-0.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\yehon\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.directory.DirectoryException: Error copying file: assets
        at brut.androlib.ApkDecoder.copyRawFiles(ApkDecoder.java:247)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:140)
        at brut.apktool.Main.cmdDecode(Main.java:183)
        at brut.apktool.Main.main(Main.java:87)
Caused by: brut.directory.DirectoryException: Error copying file: assets
        at brut.directory.DirUtil.copyToDir(DirUtil.java:100)
        at brut.directory.AbstractDirectory.copyToDir(AbstractDirectory.java:208)
        at brut.androlib.ApkDecoder.copyRawFiles(ApkDecoder.java:234)
        ... 3 more
Caused by: brut.directory.DirectoryException: Error copying file:
        at brut.directory.DirUtil.copyToDir(DirUtil.java:100)
        at brut.directory.DirUtil.copyToDir(DirUtil.java:71)
        at brut.directory.AbstractDirectory.copyToDir(AbstractDirectory.java:198)
        at brut.directory.DirUtil.copyToDir(DirUtil.java:87)
        ... 5 more
Caused by: java.nio.file.AccessDeniedException: yokai-watch-puni-puni-4-98-0\assets
        at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
        at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)
        at java.nio.file.Files.newOutputStream(Unknown Source)
        at brut.directory.DirUtil.copyToDir(DirUtil.java:95)
        ... 8 more

Steps to Reproduce

  1. apktool

Frameworks

If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)

APK

(https://yokai-watch-puni-puni.en.uptodown.com/android)

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything?
  2. If you are trying to install a modified apk, did you resign it?
  3. Are you using the latest apktool version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions