pxb1988 / dex2jar

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

fix typos of hex strings decoding #541

Closed Marukohe closed 10 months ago

Marukohe commented 2 years ago

Hex strings encoding and decoding has been described in #513. There are some typos in res/Hex.java.

Also, I found some bugs for hex strings encoding and decoding. When I use dex2jar to translate Webmon App, an int array AppCompatTheme in androidx.appcompat.R.class is encoded as a hex string. But the decode function res.Hex#decode_B is not included in the translated jar. I added res/Hex.class to java classloader's class path and it can work.

ThexXTURBOXx commented 2 years ago

Very nice find! I included your fix in #486 :)

pxb1988 commented 10 months ago

merged by #594