Gradle ビルド Android を使用したい。すべての appStores にほぼ 100 個の apk があります。唯一の違いは、assets/config.properties ファイルです。
Ant スクリプト:
<target name="makechannelidapk">
<propertyregex property="channel_id" input="${line_content}" regexp="(.*)," select="\1"/>
<delete file="${asset-dir}/config.properties" />
<echo file="${asset-dir}/config.properties"CHANNEL_ID=${channel_id}</echo>
<antcall target="finalmake" >
<param name="id" value="${client_source}"/>
</antcall>
</target>