我有一个应用程序源及其 APK文件。现在我想防止这个 APK 文件被反向工程。如果可以保护我的应用免受逆向工程的侵害,我的编码应遵循哪些步骤或为此使用了哪些库?
最佳答案
Now I want to prevent this APK file from being reverse engineered.
对不起,那是不可能的。
If it is possible to secure my app from reverse engineering, what are the steps to follow in my coding or any library is used for that?
正确配置的 ProGuard 会混淆您的代码。 DexGuard 是 ProGuard 的商业扩展版本,可能会有所帮助。但是,您的代码仍然可以转换为 smali
,具有逆向工程经验的开发人员将能够从该 smali
代码中了解您的工作。
如果您不希望其他人看到您的代码,请不要将该代码存储在他们的设备上。
关于android - 如何防止对 Android APK 文件进行逆向工程以保护代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13380097/