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 :: javaparser 
Java :: find the third largest number in an array 
Java :: instance of 
Java :: java heap sort heapify geeks for geeks 
Java :: java enum to string 
Java :: java exception to string 
Java :: GetMapping("/rest/v1/books") in spring rest api 
Java :: find out duplicate number between 1 to n numbers in java 
Java :: Palindrome Program in Java. 
Java :: get week number from localdate java 
Java :: java stream 
Java :: java file search recursive 
Java :: polymorphism in java 
Java :: java developer interview questions 
Java :: how to use iterator in java 
Java :: User input (scanner) 
Java :: change element in array java 
Java :: declaration in java 
Java :: Java Scanner nextInt() 
Java :: android click button programmatically 
Java :: Java Add elements to a HashMap 
Java :: java create a string 
Java :: basics of java 
Java :: java first index of an arraylist 
Java :: swap two nodes of a linked list 
Java :: java thread 
Java :: playwright java 
Java :: how to call the main method in java 
Java :: No enclosing instance of type Main is accessible. Must qualify the allocation with an enclosing instance of type Main (e.g. x.new A() where x is an instance of Main). 
Java :: map indexof java 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =