d, decode
xenolith-apk-editor d <app.apk> [-o dir] One APK becomes a directory. The manifest is text, resources are files. Dex stays dex until --src or --java. If the directory already exists, the command stops unless you pass -f. Exit 0 is success, 1 is a bad invocation, 3 is a failure while running.
-o, --outputOutput directory. The default is the apk name with .apk removed.-f, --forceDelete an existing output directory and decode again.--srcDisassemble classes*.dex into smali/. This is off unless you ask.--javaAlso write java/ so you can read the app. That tree is a view. The source you assemble is smali. You can pass --src and --java together.--only-manifestDecode the manifest and leave the rest untouched.--no-assetsSkip assets/. lib/ is still copied.--frame-pathDirectory of installed framework tables. The same flag is accepted by build.--res-resolve-modedefault, greedy or lazy. lazy does not invent dummy attributes for references it cannot resolve.