Finally i found my solution. In the project root i found gradle.properties configure this java home org.gradle.java.home=/usr/local/java/jdk1.8.0_05 i remove and build it properly. 参考地址: http://stackoverflow.com/questions/39010338/java-home-supplied-…
1.在系统上安装一个版本的gradle,用`gradle init --type java-application`创建一个默认的java项目,假设项目目录是hellojava 2.vscode写java首先要安装Java Extension Pack(下面简称JEP),这个扩展会自带两个依赖项安装,一个是Debugger for java,还有一个的language support for java by red hat,这些是利用Eclipse的JDT实现的java语言支持 然后把hello…
错误提示 * What went wrong: A problem occurred evaluating project ':App'. > Failed to apply plugin 'com.android.internal.application'. > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following o…