Last active
August 29, 2015 14:13
-
-
Save gin0606/35402aefb0928d8f0594 to your computer and use it in GitHub Desktop.
AntでAndroidのpackageをビルド時に変更する ref: http://qiita.com/gin0606/items/c017f60b7276c882dc70
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-package-resources" depends="-crunch"> | |
<exec executable="${aapt}" failonerror="true"> | |
<arg value="package" /> | |
<arg value="-f" /> | |
<arg value="--auto-add-overlay" /> | |
<arg value="-M" /> | |
<arg path="${basedir}/AndroidManifest.xml" /> | |
<arg value="-S" /> | |
<arg path="${resource.absolute.dir}" /> | |
<arg value="-I" /> | |
<arg path="${project.target.android.jar}" /> | |
<arg value="-F" /> | |
<arg path="${out.absolute.dir}/${resource.package.file.name}" /> | |
<arg value="--rename-manifest-package" /> | |
<arg value="${your.app.package}" /> | |
</exec> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment