I have searched and could not find a solution for this problem.
Error:Buildtools 24.0.2 requires Java 1.8 or above. Current JDK version is 1.7.
My JAVA_HOME variable in path variable is pointing to C:\Program Files\Java\jdk1.8.0_101
I don't know what I am missing and I couldn't find any settings in android studio to change the JDK path.
Please help me out