ant build.xml file doesn't exist

后端 未结 9 783
自闭症患者
自闭症患者 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:29

    this one works in ubuntu This command will cre android update project -p "project full path"

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

    Please install at ubuntu openjdk-7-jdk

    sudo apt-get install openjdk-7-jdk
    

    on Windows try find find openjdk

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

    may be you can specify where the buildfile is located and then invoke desired action.

    Eg: ant -file {BuildfileLocation/build.xml} -v

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

    You should use ant -version command instead.
    The -v option is equivalent of -verbose option.
    See Command-line Options Summary

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

    If I understand correctly, you assumed that -v is the "print version" command. Check the documentation, that is not the case -- instead ant -v is running ant build in verbose mode. So ant is trying to perform your build, based on the build.xml file, which is obviously not there.

    To answer your question explicitly: there is probably nothing wrong with both the system nor ant installation.

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

    You have invoked Ant with the verbose (-v) mode but the default buildfile build.xml does not exist. Nor have you specified any other buildfile for it to use.

    I would say your Ant installation is fine.

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