I wanted to launch the commands:
ionic build android
ionic run android --device
But he always throws me this eror:
Error: Requirements check failed for JDK 1.8 or greater
The version of java I have is 1.8.0_111, I have the environment variables defined, but I do not know why I get this error. I went back to disarming the jdk to see if that solved the error as I read it in other pages and I have the Android sdk so I have no idea why the error.