Android Hello World蚂蚁调试

时间:2015-02-25 20:39:50

标签: android

请原谅我毫无疑问是一个愚蠢的问题。

hello world lesson(developer.android.com/training/basics/firstapp/running-app.html)建议您将目录更改为Android项目的根目录并执行" ant debug"。这就是我得到的;

C:\Users\Paul\AndroidStudioProjects\MyFirstApp>ant debug
'ant' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Paul\AndroidStudioProjects\MyFirstApp>path
PATH=C:\ProgramData\Oracle\Java\javapath;C:\OracleClient32\Paul\product\12.1.0\c
lient_1\bin;C:\Oracledb\Paul\product\12.1.0\dbhome_1\bin;C:\Windows\system32;C:\
Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\

C:\Users\Paul\AndroidStudioProjects\MyFirstApp>

1 个答案:

答案 0 :(得分:3)

您需要为Windows安装Ant,然后确保ant二进制文件在您的路径中。在此处查看更多详细信息:http://ant.apache.org/manual/install.html