构建失败:使用ant时

时间:2010-11-29 09:05:47

标签: android

使用ANT INSTALL命令构建项目时出现以下错误


建立失败

项目“debug”中不存在目标“INSTALL”。


如果需要其他任何内容,请告知...

由于

这是build.xml:

/ *

                                                                                           [这通常用于代码混淆。      编译代码位置:$ {out.classes.absolute.dir}      如果没有这样做,请覆盖$ {out.dex.input.absolute.dir}]           - >
<!-- Execute the Android Setup task that will setup some properties
     specific to the target, and import the build rules files.

     The rules file is imported from
        <SDK>/platforms/<target_platform>/ant/ant_rules_r#.xml

     To customize existing targets, there are two options:
     - Customize only one target:
         - copy/paste the target into this file, *before* the
           <setup> task.
         - customize it to your needs.
     - Customize the whole script.
         - copy/paste the content of the rules files (minus the top node)
           into this file, *after* the <setup> task
         - disable the import of the rules by changing the setup task
           below to <setup import="false" />. 
         - customize to your needs.
-->
<setup />

* /

1 个答案:

答案 0 :(得分:0)

请尝试小写:

ant install