Installing Android Studio, does not point to a valid JVM installation error

前端 未结 18 1322
南旧
南旧 2021-01-30 10:15

I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add

JAVA_HOME

and

<
18条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 10:56

    My problem was different to any of the above as far as I can tell. I had a working version 1.1 of Android Studio and upgraded to 1.2 Then I got the JAVA_HOME error when starting 1.2

    The problem was that my JAVA_HOME was set to "C:\Program Files\Java\jdk1.8.0_20" with quotation marks included. I haven't put them there to quote the string, the quotation marks were in the Variable Value field. It appears that 1.1 is happy with the quotes being there but 1.2 is not.

    Removing quotes removed the error and 1.2 now opens fine

提交回复
热议问题