pxb1988 / dex2jar

Tools to work with android .dex and java .class files
Apache License 2.0
12.28k stars 2.1k forks source link

Decompiling error #474

Closed manishpalarwal-786 closed 2 years ago

manishpalarwal-786 commented 3 years ago

dex2jar assets.dex -> .\assets-dex2jar.jar Detail Error Information in File .\assets-error.zip Please report this file to http://code.google.com/p/dex2jar/issues/entry if possible. assets-error.zip

manishpalarwal-786 commented 3 years ago

I have tried two times but always doing the same error

pxb1988 commented 2 years ago

i have test the file in latest dex2jar, all class can translate to .class. but the asm complain on the generated .class file.

please notice the 8H in the class name, which is not allow in class name.

Invalid type (must be a fully qualified class name in internal form): com/facebook/ads/redexgen/X/8H
java.lang.IllegalArgumentException: Invalid type (must be a fully qualified class name in internal form): com/facebook/ads/redexgen/X/8H
    at org.objectweb.asm.util.CheckMethodAdapter.checkInternalName(CheckMethodAdapter.java:1351)
    at org.objectweb.asm.util.CheckMethodAdapter.checkInternalName(CheckMethodAdapter.java:1318)
    at org.objectweb.asm.util.CheckMethodAdapter.visitTypeInsn(CheckMethodAdapter.java:665)
    at org.objectweb.asm.ClassReader.readCode(ClassReader.java:1444)
    at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1017)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:693)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:506)
    at com.googlecode.dex2jar.test.TestUtils.verify(TestUtils.java:244)
    at com.googlecode.dex2jar.test.TestUtils.verify(TestUtils.java:234)
    at com.googlecode.dex2jar.test.TestUtils.translateAndCheck(TestUtils.java:332)

at this time, we can't fix the issue, close it.