I have used dex2jar with the help of THIS tutorial to extract .class files, and used jd-gui to view the classes. but I cant edit in jd-gui so, through jd-gui, I “Saved All Resources”, now I have a .zip with .java classes so I edited them with a Notepad++.
So now I have a .zip with all the classes in .java and I edited what I wanted, how do I build back everything to a .apk to install to the phone? Is this the wrong way to edit a .apk?
Thanks.
I have used dex2jar with the help of THIS tutorial to extract .class files,
Share
If the decompiler does not decompile all correctly (in fact with obfuscation you’ll never get a code without errors) you can’t recompile the code…
If you edit the classes into eclipse, you’ll see that there are a bunch of errors and a bunch of $NameClassNumber and other stuff.
Maybe you can edit than repackage some resources, but the code not (luckily).