Jay K's answer was right at the time of writing, but now the SDK has changed, and here is the new way to do it:
Add the following line to ant.properties
:
jar.libs.dir=lib
Tested, works where external.libs.dir does not work.
That changed in December 2010 and then again in October 2011.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…