Android Studio - supplied javaHome is not a valid folder

前端 未结 6 1428
小鲜肉
小鲜肉 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 04:54

    The problem was my project's JDK location. From the Android Studio Project tool window, I right clicked on the root directory, selected 'module settings', and set the JDK location. Everything's fine now.

提交回复
热议问题