After ./studio.sh in a terminal I get this error \"tools.jar is not in android studio classpath Please ensure JAVA_HOME points to JDK rather than JRE\"
./studio.sh
JAVA_HOME
This below trick work for me , Check your app dependencies in build.gradle(Project:AppName) .
Try the latest build.gradle version.
classpath 'com.android.tools.build:gradle:2.2.1'