I need to make some simple tweaks to Android APP that keeps crashing. Viewing the code and seeing possible problems is pretty simple.
I can either:
- Use Apktool (eg.
apktool d name_of_apk.apk -o my_folder
) and then view.smali
files that will be created fromclasses.dex
- Use dex2jar, then view or decompile the
jar
file using JD-Gui - Just use https://bytecodeviewer.com/ which allows me to view the .dex file
As you noticed, all above was about viewing the code. I need to submit changes to it though. One way to do this would be to simply re-create the original project from decompiled sources, presumably using Android Studio. That seems like boring and tedious process.
Since changes I need to perform are miniscule, such as changing debug
to true
, I would appreciate simpler solution... Is it possible to just edit bytecode of the .dex
file?