ps_guru
ps_guru

Reputation: 33

Android Hello World ant debug

Forgive me for what is undoubtedly a dumb question.

The hello world lesson (developer.android.com/training/basics/firstapp/running-app.html) suggests you change directories to the root of your android project and execute "ant debug". This is what I get;

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>

Upvotes: 0

Views: 104

Answers (1)

Khanad
Khanad

Reputation: 233

You will need to install Ant for windows and then make sure the ant binary is in your path. See more details here: http://ant.apache.org/manual/install.html

Upvotes: 3

Related Questions