文件名称:antPproguard
介绍说明--下载内容来自于网络,使用问题请自行百度
android自动打包方法(ant+proguard+签名)
现在优化减少体积和防止别人反编译,需要把编译后.class进行混淆,开始在网上看了一些关于ProGuard的介绍,基本上都是使用ADT自带的打包方式,那个打包方式太慢了,还要手工输密码,一个字烦。
于是开始寻找ant+proguard+签名的打包方式,遗憾的是资料不是缺手就是断脚。
好吧,看来得食自己了,!@#¥@#!@#!@##¥@#¥!@#@ 转眼一周,我++,终于把东西搞出来
ps:我们项目还有一个特殊需求,要把版本号,推广ID打到包里去,方便做推广什么的。这里可以用replace的方法对string.xml进行修改
好吧,废话不说了,直接上build文件
-android automatic packaging methods (ant+ proguard+ signature)
Now optimized to reduce the volume and to prevent others decompile, need to be compiled. Class conducted confusion began to read some of a ProGuard the introduction, basically using the ADT comes packaged in the online, that packed way too slow, and also to manually input the password, a word of trouble.
Began to find the ant the+ proguard+ signature package, unfortunately, the information is not a lack of hand broken legs.
Well, it seems, feed themselves, @# ¥ @#! @#! @## $ @# ¥ ! @# @ Blink of an eye a week, I+, and finally to engage in something out
ps: our project there is a special needs should be the version number to promote ID, hit the bag to go, to facilitate doing promotion. Here can be modified using the replace method string.xml
Well, not nonsense, directly on the build file
现在优化减少体积和防止别人反编译,需要把编译后.class进行混淆,开始在网上看了一些关于ProGuard的介绍,基本上都是使用ADT自带的打包方式,那个打包方式太慢了,还要手工输密码,一个字烦。
于是开始寻找ant+proguard+签名的打包方式,遗憾的是资料不是缺手就是断脚。
好吧,看来得食自己了,!@#¥@#!@#!@##¥@#¥!@#@ 转眼一周,我++,终于把东西搞出来
ps:我们项目还有一个特殊需求,要把版本号,推广ID打到包里去,方便做推广什么的。这里可以用replace的方法对string.xml进行修改
好吧,废话不说了,直接上build文件
-android automatic packaging methods (ant+ proguard+ signature)
Now optimized to reduce the volume and to prevent others decompile, need to be compiled. Class conducted confusion began to read some of a ProGuard the introduction, basically using the ADT comes packaged in the online, that packed way too slow, and also to manually input the password, a word of trouble.
Began to find the ant the+ proguard+ signature package, unfortunately, the information is not a lack of hand broken legs.
Well, it seems, feed themselves, @# ¥ @#! @#! @## $ @# ¥ ! @# @ Blink of an eye a week, I+, and finally to engage in something out
ps: our project there is a special needs should be the version number to promote ID, hit the bag to go, to facilitate doing promotion. Here can be modified using the replace method string.xml
Well, not nonsense, directly on the build file
相关搜索: antPproguard
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ant+proguard.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.