大家都知道,现在java程序很容易就让别人反编译,andorid 开发也是如此. 所以android 提供了一个 Android Java混淆(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-10proguard.config=proguard.cfg


用clipse export ,导出发布程序就好了.

更多相关文章

  1. Android(安卓)中插件的编写方法
  2. Android(安卓)App Bundle (Android新的应用发布格式)
  3. Android: Android(安卓)3.0 SDK发布,速度更新之
  4. Android反编译与防止反编译
  5. 谷歌正式发布Android(安卓)2.2手机操作平台
  6. Android彻底组件化demo发布
  7. 谷歌正式发布Android(安卓)2.2手机操作平台
  8. Android实用小技巧
  9. android 代码proguard

随机推荐

  1. 【原创翻译】ArcGis Android(安卓)10.2.4
  2. ImageView的android:maxHeight,android:mi
  3. Pro Andorid3第一章:Android平台简介
  4. android 旋转动画
  5. cocos2d-x的win32工程移植到Android
  6. System Server 分析
  7. android 上调试动态库方法
  8. Android(安卓)kernel 编译
  9. android:shape的使用
  10. Android应用程序的数据存放目录 路径