am e95a86cf: Merge change 22346 into donut
Merge commit 'e95a86cfec18836ddbff149690a13766bfc9ada3' into eclair * commit 'e95a86cfec18836ddbff149690a13766bfc9ada3': Fix target for ApiDemos (API is now 4)
This commit is contained in:
@@ -8,4 +8,4 @@
|
|||||||
# project structure.
|
# project structure.
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-3
|
target=android-4
|
||||||
|
|||||||
@@ -180,6 +180,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="debug" depends="dex, package-resources, debug-sign, package">
|
<target name="debug" depends="dex, package-resources, debug-sign, package">
|
||||||
|
<echo>Running zip align on final apk...</echo>
|
||||||
<exec executable="${zipalign}" failonerror="true">
|
<exec executable="${zipalign}" failonerror="true">
|
||||||
<arg value="-f" />
|
<arg value="-f" />
|
||||||
<arg value="4" />
|
<arg value="4" />
|
||||||
@@ -215,6 +216,7 @@
|
|||||||
message="Please enter password for alias '${key.alias}':"
|
message="Please enter password for alias '${key.alias}':"
|
||||||
addproperty="key.alias.password"/>
|
addproperty="key.alias.password"/>
|
||||||
<!-- sign the APK -->
|
<!-- sign the APK -->
|
||||||
|
<echo>Signing final apk...</echo>
|
||||||
<signjar
|
<signjar
|
||||||
jar="${out-unsigned-package}"
|
jar="${out-unsigned-package}"
|
||||||
signedjar="${out-unaligned-package}"
|
signedjar="${out-unaligned-package}"
|
||||||
@@ -223,6 +225,7 @@
|
|||||||
alias="${key.alias}"
|
alias="${key.alias}"
|
||||||
keypass="${key.alias.password}"/>
|
keypass="${key.alias.password}"/>
|
||||||
<!-- zip align the APK -->
|
<!-- zip align the APK -->
|
||||||
|
<echo>Running zip align on final apk...</echo>
|
||||||
<exec executable="${zipalign}" failonerror="true">
|
<exec executable="${zipalign}" failonerror="true">
|
||||||
<arg value="-f" />
|
<arg value="-f" />
|
||||||
<arg value="4" />
|
<arg value="4" />
|
||||||
|
|||||||
Reference in New Issue
Block a user