Unable to start the daemon process error

When running the following line:
ionic build android
I’m getting an error:
… Unable to start the daemon process…

Please help.

Found this solution in case you’re having the same problem…
Just install Java 64-bit and restart you computer, also make sure to uninstall 32-bit version.

Thanks