Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Classes.dex file to smali file

Shulou Source: shulou.com Published: 2022-06-01 07:51:31 11月26日 Update

Mainly used jar package: apktool.jar

Public static void main (String [] args) {baksmaliOptions options = new baksmaliOptions (); options.jobs = 100; / / set the directory where classes.dex files are converted to smali files options.outputDirectory = "D:\\ report\\ test\\ smali"; DexFile dexFile = null Try {dexFile = DexFileFactory.loadDexFile (new File ("D:\ report\\ test\\ classes.dex"), options.apiLevel); baksmali.disassembleDexFile (dexFile, options) } catch (IOException e) {e.printStackTrace ();}}

Tags: File directory Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Linux Redmi Apple NVidia