
How to input ${sdk.dir} to build.xml | Apache Ant | Ubuntu
Assuming, $ANDROID_HOME (environmental variable ) refers to android sdk directory, you can inject the ANDROID_HOME into the sdk.dir property using the following ant command. $ ant debug -Dsdk.dir=$ANDROID_HOME ANDROID_HOME must be an absolute path...