2

I can't edit my jdk version Here:

enter image description here

And when I execute gradlew --version It says that I'm using Java 11:

enter image description here

MAlhamry
  • 323
  • 1
  • 8
saad bouryaln
  • 21
  • 1
  • 3

2 Answers2

2

Have you tried to open your project structure settings ? Here is how:

  1. Click on the gear icon in the top right corner
  2. Select Project Structure

project structure

  1. Click SDK Location
  2. Click gradle settings
  3. Then select your jdk version Choose JDK version
Nopal
  • 70
  • 4
0

issue happening on windows 11 and Android Studio Electric Eel | 2022.1.1 copy the content inside path "program Files/java/jdk" inside path "program Files/Android/AndoridStudio/jre" fixing my problem after restarting the IDE