A
A
Anastesha Chertanovskaya2020-08-02 16:15:11
android studio
Anastesha Chertanovskaya, 2020-08-02 16:15:11

How to fix error in android studio?

When starting the emulator, the following error is generated: "The emulator process for AVD Nexus was killed."
The event log shows: "Emulator: PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [C:\]!"

All Tools are installed in the SDK Manager. What should I do to fix this error? I downloaded the program for the first time, that is, I don’t know anything.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
Oleg Koretsky, 2020-10-06
@zraziu

Solution if the username is in Cyrillic:
Open "This computer" - "System properties" - "Advanced system settings" - "Environment variables" - "Environment variables for PC" - "Create".
1 entry: Name - "ANDROID_SDK_ROOT", value - path to SDK folder (eg D:\android\sdk )
2. entry: Name "ANDROID_SDK_HOME", value - path to project folder (eg D:\android\project )
Paths for records must be different.

S
Sergey Voronov, 2020-11-23
@iravenss

On windows 10 I tried to fix the problem for a long time, I used various solutions. I found out that the problem arose due to the fact that the username and folder were in Russian. C:\Users\Sergey
It helped to create another user C:\Users\serega and then reinstall android studio for the new user

D
DrRats, 2020-12-20
@DrRats

A little has changed. Now you also need to change the environment variable in Android Studio: File - Settings - Appearance & Behavior - Path Variables.

A
Alexander, 2020-08-02
@Alexandre888

https://stackoverflow.com/questions/39645178/panic...
https://stackoverflow.com/questions/36841461/error...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question