01-17-2015, 10:07 AM
(01-17-2015, 07:58 AM)Ravenheart Wrote: How does the editing work exactly? I put view3 to smali editor, made my fixes, clicked the File->Compile Smali then File-> Save as Jar... and the resulting file was about 300KB smaller than the original file and gave an error when attempting to open it. The changes I made were changing a hardcoded int value (so no new/edited opcodes).
Keep in mind it needs to first convert the jar to Dex, then it converts to smali, after the changes it converts it from smali, to dex then back to Java bytecode. This works pretty well for Android APKs, but it does break some Java class files.