标签:android style blog http java color
<target name="sign"> <echo>Begin sign unobfuscated package...</echo> <exec executable="${signer}" failonerror="true"> <arg value="-verbose" /> <arg value="-keystore" /> <arg value="${keystore}" /> <arg value="-storepass" /> <arg value="${store_pass}" /> <arg value="-keypass" /> <arg value="${key_pass}" /> <arg value="-signedjar" /> <arg value="${temp}\${file_name}_unobfs_signed.apk" /> <arg value="${temp}\${file_name}_unobfs.apk" /> <arg value="${key_name}" /> </exec> </target>
<property name="keystore" value="${project_path}\pada_keystore_formal" /> <!-- 签名的密钥名称设置--> <property name="key_name" value="padaapp" /> <!-- 签名的密码设置--> <property name="key_pass" value="padaeaglenet" /> <!-- 签名的密码设置--> <property name="store_pass" value="padaeaglenet" />
<exec executable="java" failonerror="true"> <arg value="-jar"/> <arg value="${project.dir}/STBsign/signapk.jar"/> <arg value="${project.dir}/STBsign/platform.x509.pem"/> <arg value="${project.dir}/STBsign/platform.pk8"/> <arg value="${buildtemp.dir}/unsigntest.apk"/> <arg value="${buildtemp.dir}/TVJUSIGN.apk"/> </exec>
<property name="umeng_channel" value="${public_umeng_channel}"/> <echo> alter_umeng_channle_id... "${umeng_channel}" </echo> <replaceregexp file="${auto.project.tmp.dir}/AndroidManifest.xml" match="<meta\-data(\s+)android:name="UMENG_CHANNEL"(\s+)android:value="[a-zA-Z0-9]+"" replace="<meta\-data android:name="UMENG_CHANNEL" android:value="${umeng_channel}"" /> </target>
Ant编译打包Android工程流程,布布扣,bubuko.com
标签:android style blog http java color
原文地址:http://blog.csdn.net/rambomatrix/article/details/37993069