"Cannot find build.xml" error for building SDK SDK

Magazine:

STRICTLY FAILURE

/Users/xxx/sample/build.xml:114: Can't 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 correct.

I found that there is /Users/xxx/Library/Android/Library/Android/sdk/tools/

no ant directory in it.

I found that someone says it is automatically generated. How do I do this build.xml in tools / ant? I am using Mac.

+3


source to share


2 answers


+4


source


You need to install an older version of Android Sdk. The latter do not have a folder tools\ant

.



You can download the older version here . Download the archive and replace tools

your sdk folder.

+1


source







All Articles