Error After Reinstalling Android Studio

Asked 2 years ago, Updated 2 years ago, 113 views

After reinstalling Android Studio, the following message occurred when the system was started:
The system could not be started.Please tell me the recovery procedure.Thank you for your cooperation.

System Configuration:

  • windows10 64-bit RAM 4GB
  • Android Studio 3.1

java-version results are as follows:

>java-version
java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

Enter a description of the image here

java android-studio

2022-09-30 19:18

1 Answers

This is not an answer to how to use Java 10, but I will give you an answer to develop it.

Currently, Android Studio does not support Java 10, or there may be bugs in Windows 10 environments.
I found stackoverflow questions and jetbrains reports about JDK10.
Android Studio not detecting JDK-10
idea64-does-not-work-with-jdk-10-on-Windows-10

The Stackoverflow question says it worked in 3.1.
However, according to the Jetbrains report, it did not work with Windows 10, it did with Windows 8 (this is about Intellij IDEA 2018.1)

The Android studio itself is based on intelliJ, so the same phenomenon may have occurred locally in tmomo.

Also, even if I can use it, I don't think I can use Java 9 features on Android studio, let alone Java 10.
Does android studio 3 support java9 for android development

When I looked at the Android Studio UserGuide, I could only find Java 8.
Java 8 support features

So at this point, I think I can start Android Studio without any problems using Java 8.


2022-09-30 19:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.