Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] Cannot set Gradle JVM version in my Android Studio

Posted on November 11, 2022 By

Solution 1 :

You can set up JDK for your project in File|Project Structure|SDK Location|JDK Location.

Problem :

Everyone in this thread suggest to set the Gradle JVM to version 1.8, but I just cannot find that version in Intellij.

File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle leads me to:

enter image description here

Project structure doesn’t help either:

enter image description here

There is no place in Intellij where I can set the Gradle JVM version.

Gradle:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_11
    targetCompatibility JavaVersion.VERSION_11
}

I know AS requires JDK 8, but I saw some people pull off using 11 in the compileOptions by setting Gradle JVM to 8, but I can’t do that on my Intellij for some reason.

READ  [FIXED] android - cache image and display in FirestoreRecyclerAdapter
Powered by Inline Related Posts
Android Tags:android-studio, gradle

Post navigation

Previous Post: Can a beginner learn Moonlight Sonata 1st Movement?
Next Post: [FIXED] java – App keeps crashing when ListView item is clicked on

Related Posts

[FIXED] android studio – Pausing Mediaplayer when application is minimized in the background or user clicks Home button and continues to play when the application is maximized Android
[FIXED] kotlin – Get Location Updates in Background Service – Android Studio Android
[FIXED] android – Problem with filling 5th column in GridLayout Android
[FIXED] android – Read in values from file and put into a ListView in Flutter Android
[FIXED] react native – Android SDK is Unavailable Upon First Startup of Android Studio Android
[FIXED] android – How to switch to other fragment in different back stack using Navigation Component? Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • What are the main features of Islamic education?
  • Is the Jeep 4xe worth it?
  • How does the ringer work on cast iron?
  • What is the biggest size interior door?
  • Is blue raspberry an original Jolly Rancher flavor?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme