The log is:
BUILD FAILED
/Users/xxx/sample/build.xml:114: Cannot find /Users/xxx/Library/Android/Library/Android/sdk/tools/ant/build.xml imported from /Users/xxx/sample/build.xml
I can confirm that sdkdir is right.
I found there is not an ant directory in /Users/xxx/Library/Android/Library/Android/sdk/tools/
.
I found someone saying it is automatically generated. How can I make this build.xml in tools/ant? I use a Mac.
Best Answer
https://dl.google.com/android/repository/tools_r25.2.5-windows.zip
https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip
https://dl.google.com/android/repository/tools_r25.2.5-linux.zip
Download archive and replace tools folder of your android sdk