Android Studio cannot start, Failed to create JVM: error code -1. JVM Path perfect solution

1. Background

I haven’t started Android studio for a long time. I suddenly needed it today, but it couldn’t be opened. The error message is as follows, so I recorded my solution in the hope that it can help more friends!

2. Process

At first I thought it was a problem with Java environment variables. Configuring the Java environment variables still didn't work, so you don't have to worry about it.

Inspired by a blog post later, https://blog.csdn.net/zhyzhyzhyzhy1234/arti

Guess you like

Origin blog.csdn.net/meimeieee/article/details/129418093