ant 打包脚本(加混淆)
Initializing all output directories... Generating R.java from the resources... Compiling .aidl into java files... Compiling java source code... Proguad .... Converting compiled files and external libraries into a .dex file...
Packaging resources and assets... Packaging unsigned apk for release...
It will need to be signed with jarsigner before being published. Packaging signed apk for release... "${jarsigner}"....."${keystore-file}" APK is released. path:${out-signed-package-ospath}
配置文件local.properties
请填写正确的路径,并在环境变量中Path中配置好。
ANDROID_HOME=****\android-sdk-windows
ANT_HOME=****\ANT\apache-ant-1.9.6-bin\apache-ant-1.9.6
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66
签名步骤的签名证书的转换请参考 签名证书转换
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
