If you start 64bit Android Studio, you have to add JAVA_HOME as
and dont put “bin” end of the path.
Do step by step as shown in this YouTube Video
System -> Advanced system settings -> Environment Variables
Add a new variable to you profile
STRING: Program Files/java/"your string"
Save and Start Android Studio 😉
All you need to do is, set the JAVA_HOME and JDK_HOME environment variables by following the steps:
1)Right click on
My Computer.->>Properties->>Advanced System Settings.->>Environment
2)In user variables for (Your PC name),click on new at botton of the tab.
3)In variable name,type JAVA_HOME
4)In variable value,type
(path where your jdk folder is located on the system ).
5)Do it again with JDK_HOME
with same path.