Android Studio is unable to find a valid JVM

Source: Internet
Author: User

Installing Android Studio under Mac encounters this problem

Android Studio is unable to find a valid JVM

Workaround

Find Android Studio.app in the app, right-click to display the contents of the package, locate Info.plist in the directory and open with any text editor, find Jvmversion and <string>1.6*</ Change the version number in string> to the version number of your system JDK. Note: Android Studio supports only jdk1.6 and above versions.

?

Java

Http://java.com/inc/BrowserRedirect1.jsp?locale=zh_CN

The Java version can be viewed at the command line through the java-v.

Mine is.

$ java-version

Java Version "1.8.0_25"

Change to?

<key>JVMVersion</key>
<string>1.8*</string>

Can

Android Studio is unable to find a valid JVM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.