Basically topic. I used to be able to at least run the app with “ionic run android” and have it on my phone, but now I can’t build it. i get this error:
I’ve verified that my JVM is working with a java command, so I have absolutely no idea what’s wrong. Cordova, Android_Home have all been set up. The machine is Windows 64-bit but I’m running 32-bit Java, if it helps.
EDIT: I managed to make the JVM error disappear in two ways:
- set a _JAVA_OPTIONS environment variable with value -Xmx512M
- I discovered that I had a 64-bit Java installation. Changing my JAVA_PATH to point to that solved the JVM issue.
I still cannot resolve the ENOENT error though.