I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add
JAVA_HOME
and
In my case it was because of an invisible character at the beginning of the path: