The following error is reported in dex2jar decompilation APK, and the complete error is shown in the picture:
Detail Error Information in File .\GtsSettingsTestCases-classes- error.zip
Please report this file to http://code.google.com/p/dex2jar/issues/entry if possible.
Open error.zip The error contents are as follows: java.lang.RuntimeException : can not merge I and Z
Solution (transferred from: https://www.twblogs.net/a/5c95e18bbd9eee4a0d090cd5 ):
1. From https://github.com/pxb1988/dex2jar Download the source code of dex2jar: dex2jar-2.x.zip
2. Recompile: enter the dex2jar-2. X directory and execute the compile command:
gradlew.bat assemble
(the gradle environment variable needs to be configured. Compiling is easy to time out. You can succeed by trying several times. I tried three times.)
3. After compiling, the compressed package (dex-tools-2.1) will be generated under dex2jar-2. X/DEX tools/build/distributions- SNAPSHOT.tar ,dex-tools-2.1- SNAPSHOT.zip ), decompress a compressed package and recompile APK.
Attached is my own dex2jar:
dex-tools-2.1- SNAPSHOT.tar
dex-tools-2.1- SNAPSHOT.zip