tags:

views:

135

answers:

1

Hey all, I'm working my way through APress's Beginning Android 2 and I've made it all the way to chapter 3, where we build a skeleton app. The book tells me to compile my application by typing "ant" in the command line, but my pc doesn't know what "ant" is yet. I checked in the SDK files and it looks like it wasn't included with the Android SDK. Does anybody know where ant is?

Thanks

+2  A: 

Ant isn't included with the Android SDK as detailed here

http://developer.android.com/intl/de/guide/developing/other-ide.html

I suggest you get it from the official site which is here

http://ant.apache.org/bindownload.cgi

Jim Blackler
Beautiful. THANK YOU!
StormShadow
and if you want to use it from command line - do not forget to add <ant_home>/bin to PATH
St.Shadow
Excellent. Thank you for that - I have missed that detail in the past.
StormShadow
You're welcome.
Jim Blackler
If you're working on a Linux machine, most distros have an ant package you can simply install (e.g. "apt-get install ant" on Debian/Ubuntu or "yum install ant" on RPM-based distros).
Eno