ResSimplify
ResSimplify copied to clipboard
BufferOverflow exception in the thread Main
following the instruction I ran the jar file with this instruction:
java -jar res-simplify-1.0.3-all.jar --in D:\Project\myapp\pure\myapp.apk --out D:\Project\myapp\app_versions\
this is the output:
Starting deobfuscate resources in: myapp.apk
Renaming resource table...
Exception in thread "main" java.nio.BufferOverflowException
at java.base/java.nio.Buffer.nextPutIndex(Buffer.java:744)
at java.base/java.nio.HeapByteBuffer.putInt(HeapByteBuffer.java:509)
at com.google.devrel.gmscore.tools.apk.arsc.PackageChunk.writeHeader(PackageChunk.java:217)
at com.google.devrel.gmscore.tools.apk.arsc.Chunk.writeHeader(Chunk.java:163)
at com.google.devrel.gmscore.tools.apk.arsc.Chunk.toByteArray(Chunk.java:216)
at com.google.devrel.gmscore.tools.apk.arsc.ChunkWithChunks.writePayload(ChunkWithChunks.java:67)
at com.google.devrel.gmscore.tools.apk.arsc.Chunk.toByteArray(Chunk.java:220)
at com.google.devrel.gmscore.tools.apk.arsc.BinaryResourceFile.toByteArray(BinaryResourceFile.java:70)
at com.google.devrel.gmscore.tools.apk.arsc.BinaryResourceFile.toByteArray(BinaryResourceFile.java:63)
at com.mrikso.ressimplify.core.ParseArsc.parse(ParseArsc.kt:48)
at com.mrikso.ressimplify.core.Run.run(Run.kt:81)
at com.mrikso.ressimplify.DeobfuscateCommand.run(App.kt:16)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:204)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:17)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:396)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:393)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:411)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:436)
at com.mrikso.ressimplify.AppKt.main(App.kt:31)
I have no idea if I should provide a whitelist or whatever as specified in the instructions
Maybe try use another project APKEditor
I haven't tried that one yet but I will give it a try