custom_rules.xml
添加目标
<!--MM 新资质 最新版 渠道 -->
<target name="PopStar3_MMSMS_FREE_NEW" depends="-clean temp" description="PopStar3_MMSMS_FREE_NEW" >
<antcall target="copy_channel">
<param name="new_package_name" value="com.pfu.popStar"/>
<param name="new_package_path" value="com/pfu/popStar"/>
<param name="nameandchannel" value="PopStar3_MMSMS_FREE_NEW"/>
</antcall>
<loadproperties srcFile="PopStar3_MMSMS_FREE_NEW/channel.properties"/>
<antcall target="release"/>
<antcall target="-copy apk">
<param name="nameandchannel" value="PopStar3_MMSMS_FREE_NEW"/>
</antcall>
</target>
PopStar3_MMSMS_FREE_NEW文件夹channel.properties
nameandchannel=PopStar3_MMSMS_FREE_NEW