Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

inside android/gradle.properties just add your new path to java SDK
org.gradle.java.home=C:/Program Files/Java/jdk-11.0.15
Comment

android gradle plugin requires java 11 to run. you are currently using java 1.8

Under Java Platform, Standard Edition, select either the current release, or 
click Previous Releases to install an earlier supported version. You can use
either the JDK or JRE. The JDK includes the JRE. Do not use any non-supported
version or edition of the Java JRE or JDK.
  
cd android && ./gradlew --version
Comment

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Go to Settings  ->Project Structure -> Select the Modules Tab 
-> Select the latest 'Sdk and Build Tools' 
  
  Go to your build.gradle file then update the 'targetSdkVersion and CompileSdk' to the latest 
  build version that you selected  eg  compileSdk 32 and   targetSdkVersion 32
Comment

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Gradle 7.0-rc-2
------------------------------------------------------------

Build time:   2021-04-01 21:26:39 UTC
Revision:     912a3368b654b71250dfc925a20d620393

Kotlin:       1.4.31
Groovy:       3.0.7
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          11.0.10 (Ubuntu 11.0.10+9-Ubuntu-0ubuntu1.20.10)
OS:           Linux 5.11.4-051104-generic amd64
Comment

android gradle plugin requires java 11 problem

jdk:
  - openjdk11
Comment

PREVIOUS NEXT
Code Example
Java :: buat tetris dari java 
Java :: java konsolenausgabe 
Java :: java.lang.number is interface or abstract class 
Java :: How can I store user inputs in an array of integers? 
Java :: GLG203 
Java :: centrar valores en celda jtable java netbeans 
Java :: integer to roman 
Java :: object class of java 
Java :: java get end of date 
Java :: The create method: 
Java :: java gson get object without class 
Java :: how to secure specific url in spring security 
Java :: raspberry stackexchange how to install the java jdk 
Java :: rules for naming variables in java 
Java :: java for loop example 
Java :: mock ioexception mockito on BufferedReader 
Java :: get top 3 entries based on values map java 
Java :: Read array of characters from space separated values in java 
Java :: edit xmlns attribute with jaxb marshaller 
Java :: Java Copying Arrays Using arraycopy() method 
Java :: Accesses Constructor of Abstract Classes 
Java :: java print line 
Java :: java program for wind-chill temperature 
Java :: java unused import statement 
Java :: java project with submodules 
Java :: adding new field in existing kibana index using spark java 
Java :: Java offer() 
Java :: Sling authentication handler example 
Java :: java page setup 
Java :: Composite primary key jpa 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =