android 程序 发布加密
大家都知道,现在java程序很容易就让别人反编译,andorid开发也是如此.所以android提供了一个AndroidJava混淆(ProGuard).使用起来也是很简单.
=================================
在你的android工程下边有一个文件叫:project.properties.低版本的sdk可能叫default.properties..
只要将proguard.config=proguard.cfg这句加到里面就ok了,但是一定要是发布签名的app,debug模式下是不混淆的.
最后就是这样:
# This file is automatically generated by Android Tools. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This file must be checked in Version Control Systems. # # To customize properties used by the Ant build system use, # "build.properties", and override values to adapt the script to your # project structure. # Indicates whether an apk should be generated for each density. # split.density=false # Project target. target=android-10 proguard.config=proguard.cfg
用clipseexport,导出发布程序就好了.
相关推荐
Nostalgiachild 2020-11-13
韩伟佳 2020-10-09
wuleihenbang 2020-09-16
zzqLivecn 2020-07-09
chenjinlong 2020-06-10
yinbaoshiguang 2020-06-09
sgafdsg 2020-06-04
ustcrding 2020-06-03
chenjinlong 2020-06-03
AndroidGA 2020-06-01
安辉 2020-05-27
绿豆饼 2020-05-26
CNETNews 2020-05-26
xilove0 2020-05-12
绿豆饼 2020-05-12
ChainDestiny 2020-05-07
doomvsjing 2020-05-07
hqulyc 2020-05-05
lyccsu 2020-04-30