2

Is there any way to recompile the APK after decompilation using javadecompilers.com ? it's a nice tool to decompile APK and have java files, but i don't know how to recompile.

i tried to import the decompiled files to android studio, eclipse, Intellij IDEA CE, but there is so many errors, i solved some, but still so many that i can't solve.

i already used apktool for decompilation, but the problem is, it gives you smali files instead of java files like javadecompilers.com

Fariss Abdo
  • 481
  • 1
  • 4
  • 8
  • I don't know anything about javadecompilers.com, but in general, most decompilers don't produce re-compilable code, unfortunately. – JesusFreke Oct 21 '17 at 19:45
  • As the author of one of the decompilers on that site, I can tell you that for any moderately complex program, you'll seldom, if ever, end up with output that can be round-trip compiled. This is especially true for files that were converted from Android's bytecode format. – Mike Strobel Oct 23 '17 at 15:34

1 Answers1

1

you canot compile after decompile when you use tools and sites like javadecompilers.com the only way for compile is trying to decompile apk to assembly with apktool and modify smali file and easily compile it again (all cracker do this :))

Ahmad Nemati
  • 309
  • 2
  • 12