Live Reload not working anymore?
Now after the update to Capacitor Version 3 I can't use Live Reload in my Ionic Angular Project anymore. Unable to locate a Java Runtime. Has anyone else got the same issue?
I've followed the official Capacitor guide, also installed the native-run
from ionic/cli.
https://capacitorjs.com/docs/guides/live-reload#live-reload
Its not working!
This is the console error:
capacitor run android --no-sync --target LMQ610PJNVDUJV6TCQ
[capacitor] ✖ Running Gradle build - failed!
[capacitor] [error] The operation couldn’t be completed. Unable to locate a Java Runtime.
[capacitor] Please visit http://www.java.com for information on installing Java. [capacitor] [ERROR] An error occurred while running subprocess capacitor.
capacitor run android --no-sync --target LMQ610PJNVDUJV6TCQ
exited with exit code 1.
Anybody got an idea what's the issue? Do I really need to install Java on Mac?? Thank you!!