问题5: Install to device: emulator-5554
ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
Installing to device failed!
-- Run with --verbose for more information.
解决:
file:///C:/apache-ant-1.9.2-bin/apache-ant-1.9.2/manual/
Only the bin
and lib
directories are required to run Ant. To install Ant, choose a directory and copy the distribution files there. This directory will be known as ANT_HOME.
只有bin和lib目录都必须运行Ant 。安装Ant ,选择一个目录,并复制分发文件存在。该目录将被称作ANT_HOME。
file:///C:/apache-ant-1.9.2-bin/apache-ant-1.9.2/manual/
Assume Ant is installed in c:\ant\
. The following sets up the environment:
set ANT_HOME=c:\ant set JAVA_HOME=c:\jdk-1.5.0.05 set PATH=%PATH%;%ANT_HOME%\bin