How to avoid reverse engineering of an APK file?

后端 未结 30 2274
醉梦人生
醉梦人生 2020-11-21 22:27

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.<

30条回答
  •  北荒
    北荒 (楼主)
    2020-11-21 22:59

    100% avoidance of reverse engineering of the Android APK is not possible, but you can use these ways to avoid extracting more data, like source code, assets form your APK, and resources:

    1. Use ProGuard to obfuscate application code

    2. Use NDK using C and C++ to put your application core and secure part of code in .so files

    3. To secure resources, don't include all important resources in the assets folder with APK. Download these resources at the time of application first start up.

提交回复
热议问题