I also got same issue working on Windows 7.
When I run the ‘ionic emulate android’ command, the emulator opens but the app doesn’t run.
According to console log, showed below
・“ERROR : unable to find project C:\Users[username]\myApp\platforms\android\ant-build directory, could not locate .apk”
・“Error: C:\Users[username]\myApp\platforms\android\cordova\run.bat: Command fa
iled with exit code 2
at ChildProcess.whenDone (C:\Users[username]\AppData\Roaming\npm\node_mod
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:753:16)
at Process.ChildProcess._handle.onexit (child_process.js:820:5)”
There are no “ant-build” directory.
I think I was able to follow instructions such getting-started and Getting Everything Installed
I set ant, java, android tools and platform-tools to the path.
I have solved some issues step by step from proxy settings, installing.
But I cannot find any solutions above issue.
I just installed node.js, ant and android today 2014/Jun/12.
I just wonder why no success message shows when I run "ionic build android"
except “Running build task…
Building platform android
Running command: C:\Users[username]\myApp\platforms\android\cordova\build.bat”.