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.
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
You have to install an old Android Sdk version. The latest ones doesn't have tools\ant
folder.
You can download older version here. Download archive and replace tools
folder of your sdk.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With