You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dan Dyer edited this page Aug 22, 2013
·
3 revisions
Mandatory Properties
The following properties must be set for all builds.
sdk.dir
The location of the Android SDK on the local machine.
target
The version of the Android platform to target. This must be set to an identifier such as android-18 and should typically match the android:targetSdkVersion set in AndroidManifest.xml.
Signing Properties (Mandatory for Release Builds)
In order to use the package-release macro, it is necessary to set the following properties (probably in your local properties file rather than directly in build.xml.
key.store
The location of a Java key store containing the key used to sign Android apps.
key.alias
The key store alias to use when signing Android apps.
Other Properties
For all other properties, the defaults should suffice unless you are doing something complex, such as building multiple versions of the same app from a single project.
Local Properties File
Before assigning default values to any unassigned properties, the Antlib will check for the existence of the local.properties file in the project root. This provides a useful way to set property values that may differ between users (e.g. the install location of the Android SDK).