Android Studio - supplied javaHome is not a valid folder

前端 未结 6 1421
小鲜肉
小鲜肉 2020-12-05 04:07

I decided to update my JDK to Java 8, and installed to the default location of C:\\Program Files\\Java\\jdk1.8.0 with a jre subdirectory.

I

6条回答
  •  Happy的楠姐
    2020-12-05 04:51

    I was also seeing this same problem. For me the fix was in 'Run/Debug Configurations' (Run > Edit Configurations...)

    The 'Gradle project' value was set to the build.gradle file location, and this should've been set to the Gradle project object in IDEA, click the folder looking icon not the '...'.

提交回复
热议问题