Tag Archives: ‘tools.jar’seems to be not in Studio classpath Please ensure JAVA_HOME points to JDK rather than…

‘tools.jar’seems to be not in Studio classpath Please ensure JAVA_HOME points to JDK rather than…

‘tools.jar’seems to be not in Studio classpath Please ensure JAVA_ HOME points to JDK rather than JRE

after installing Android studio, this error appears

solutions

Make sure JDK is installed

Does the JDK match your system, such as 64 bit and 32-bit

After confirming all the above, copy tools.jar under the Lib folder in the JDK directory to the Lib folder under the Android studio installation directory


The way to check whether JDK is installed successfully: enter the command Java – version

Copy after JDK is sure

Just tools. Jar

Restart Android studio after copying. OK