Ionic cordova build not working

im trying to build my app uisng the command line but its stopping at a stage and never moving forward like below

D:\Leraning\myApp>ionic cordova build android
> cordova build android
Android Studio project detected

Running command: "C:\Program Files\nodejs\node.exe" D:\Leraning\myApp\hooks\after_prepare\010_add_platform_class.js D:\Leraning\myApp
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_161
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon, 7 stopped Daemons could not be reused, use --status for details

@sai525 Try doing npm install and build it again.

no use, i already tried