Build failed

Create issue
Issue #149 closed
Former user created an issue

I have problem with build love2d to .apk. I try do on this wiki article but an last step i have problem I do "ant debug" and see this error """ C:\Users\user\repos>ant debug Buildfile: C:\Users\user\repos\build.xml

BUILD FAILED C:\Users\user\repos\build.xml:91: Cannot find C:\Users\user\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\Users\user\repos\build.xml """

In repos have file build.xml with text

""" <!-- Import the actual build file.

     To customize existing targets, there are two options:
     - Customize only one target:
         - copy/paste the target into this file, *before* the
           <import> task.
         - customize it to your needs.
     - Customize the whole content of build.xml
         - copy/paste the content of the rules files (minus the top node)
           into this file, replacing the <import> task.
         - customize to your needs.

     ****** IMPORTANT ******
     In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
     in order to avoid having your file be overridden by tools such as "android update project"
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />


but folder ${sdk.dir}/tools/ not have folder ant and file ant/build.xml

Where me found /tools/ant/build.xml file. Please help.

Comments (3)

  1. Gustavo Alberto Lara Gómez

    I have the same problem too, apparently this is because in newer version os the sdk that folder was removed, not sure what should we do about it, if somebody knows, please ket us know.

    EDIT: Here you have links to older version, I'm gonna try them and tell you if they worked for me

  2. Log in to comment