"The operation couldn’t be completed. Unable to locate a Java Runtime." Error in Flutter

169 Views Asked by At

Whenever i try to run the following command,

./gradlew signingReport I get the following error,

The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. (I'm a Mac User)

I keep getting this error, whenever i run the above-mentioned command, all i want are the SHA keys so that i can integrate OTP phone verification through Firebase Authentication into my Flutter App.

0

There are 0 best solutions below