如何确保从Java反编译APK [英] how to secure apk from java decompile

查看:134
本文介绍了如何确保从Java反编译APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  

可能重复:
  如何prevent我从反编译

你可能知道 - 反编译​​APK文件是太容易了: 提取APK的拉链 - 辱骂compliltly清单和所有资源
。 使用简单的反编译软件 - 辱骂所有源$ C ​​$ C(仅适用于不是原来的变量名。)

我想知道是否有办法以某种方式保证从被反编译。APK文件

我认为这个原因,我需要的,这是有目共睹的你 - 我不希望人们阅读源$ C ​​$ C或任何部分,从安全考虑......

在此先感谢

解决方案

使用的ProGuard 。它收缩,优化,并通过删除未使用code和重命名类,字段和方法与语义模糊的名字混淆你的code。结果是较小尺寸的apk文件,它是更难以逆向工程

Possible Duplicate:
How to prevent My apk from decompiling

as you probably know - decompiling APK file is too easy: extract the apk as zip - reviles compliltly the manifest and all resources.
using simple decompiling software - reviles all the source code (only with not the original variables names..)

I would like to know if there is a way to secure somehow APK file from been decompile.

I assume that reason I need this is obvious to all of you - I don't want people to read the source code or any part of it, from security reasons...

thanks in advance

解决方案

Use proguard. It shrinks, optimizes, and obfuscates your code by removing unused code and renaming classes, fields, and methods with semantically obscure names. The result is a smaller sized .apk file that is more difficult to reverse engineer.

这篇关于如何确保从Java反编译APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆