ant build.xml file doesn't exist

后端 未结 9 784
自闭症患者
自闭症患者 2020-12-24 04:52

After the installation of my ant in my windows 7 . In cmd i typed ant -v it\'s given the ant version but it says the following also.

Buildf         


        
相关标签:
9条回答
  • 2020-12-24 05:47

    There may be two situations.

    1. No build.xml is present in the current directory
    2. Your ant configuration file has diffrent name.

    Please see and confim the same. In the case one you have to find where your build file is located and in the case 2, You will have to run command ant -f <your build file name>.

    0 讨论(0)
  • 2020-12-24 05:50

    Using ant debug after building build.xml file :

    in your cmd your root should be your project at first then use the ant debug command e.g:

    c:\testApp>ant debug 
    
    0 讨论(0)
  • 2020-12-24 05:54

    If you couldn't find the build.xml file in your project then you have to build it to be able to debug it and get your .apk

    you can use this command-line to build:

    android update project -p "project full path"
    

    where "Project full path" -- Give your full path of your project location

    after this you will find the build.xml then you can debug it.

    0 讨论(0)
提交回复
热议问题