About compiler and decompilation

164 views Asked by At

I want to prevent anyone from apk reverse compilation. We need to do something. I browsed on the internet, but I still don't know the operational steps clearly.

Who can tell me how to do it?

Anyone's help is so welcome!! Thanks!!

2

There are 2 answers

0
Daren Thomas On

You need an obfuscator. If you are running .NET or Java, these should be easy to find.

There is nothing to prevent people from decompiling your code. All you can do is make it as nasty to read as possible. Don't do this in source (as you will not be able to modify your code yourself), use an obfuscator to do it as a post build step.

0
EboMike On

Google recommends ProGuard. See this link in the Android docs for more information.

It won't prevent people from disassembling your code (you won't be able to stop that - after all, the operating system needs to disassemble your code to execute it!), but it will make it very hard to see what's going on.