![]() You obviously don't want people stealing it out of your app. For example, if you have an algorithm that's taken you a million dollars to write. Move the most critical parts of the service out of the app, and into a webservice, hidden behind a server side language like PHP.These will obfuscate your code, and make it harder to read when decompiled, if not impossible. However, there are steps you can take to protect your source code, or at least what it does if not everything. libs/armeabi/libstuff.soĪFAIK, you cannot protect the files in the /res directory anymore than they are protected right now. If it was built with armeabi-v7a then put it under If you built the native code for the 'armeabi' target then put it Put the library in the native library path which defaults to "libs" in Then you can use it by the below suggestion. If you need to add an external native library to your APK's library folder on every build, If you have the option of including shared libraries, you can include the needed code in C++ to verify file sizes, integration,Įtc. But the place to start for Android, that Google has built in, is ProGuard. 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?Īs everyone says, and as you probably know, there's no 100% security. This usually slows down reverse engineering significantly.ģ. For example, use obfuscation (if it's Java code). You can do different tricks to make hacking harder though. 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? And any protection you put in there can be disabled/removed.Ģ. You basically can't protect your application from being modified. How can I completely avoid reverse engineering of an Android APK? Is this possible?ĪFAIK, there is not any trick for complete avoidance of reverse engineering.Īnd also very well said by Whatever you do to your code, a potential attacker is able to change it in any way she or he finds it feasible. 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?ġ.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?.How can I completely prevent reverse engineering of an Android APK? Is this possible?.As per Proguard documentation the tool can't obfuscate components mentioned in the Manifest file. However, the names of Android components remain unchanged and some code, like key-values used in the app, remains unchanged. When I reverse engineer an APK file generated using a signed keystore and Proguard, I get obfuscated code. I have used the Proguard tool provided with the Android SDK. ![]() 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. 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. ![]() 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |