I am developing a payment processing app for Android, and i want to prevent a hacker from accessing any resources, assets or source code from the APK file.
If someone changes the. apk extension to. zip then they can unzip it and easily access all the app's resources and assets, and using dex2jar and a Java decompiler, they can also access the source code.it's very easy to reverse engineer an Android APK file - for more details see Stack Overflow question Reverse engineering from an APK file to a project.
I have used the Proguard tool provided with the Android SDK.when i reverse engineer an APK file generated using a signed keystore and Proguard, i get obfuscated code.However, the names of Android components remain unchanged and some code, like key-values used in the app, remains unchanged.as per Proguard documentation the tool can't obfuscate components mentioned in the Manifest file.
Now my questions are :
- How can i completely avoid reverse engineering of an Android APK?is this possible?
- How can i protect all the app's resources, assets and source code so that hackers can't hack the APK file in any way?
- is there a way to make hacking more tough or even impossible?what more can i do to protect the source code in my APK file?