Android Studio error after ./studio.sh

前端 未结 12 1217
名媛妹妹
名媛妹妹 2021-01-30 10:49

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\"

12条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 11:03

    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'

提交回复
热议问题