Error: "SDK emulator directory is missing" in Android Studio on Linux
Asked Answered
E

4

16

I'm trying to install android studio on linux manjaro but it shows me following error:

SDK emulator directory is missing

How i can to fix it?

The error mesage:

error screenshot

Erdmann answered 28/2, 2020 at 11:13 Comment(2)
Did you use a proxy? If so see this post on SOPhilter
I always forget about my proxy. This comment saved my life. Thanks.Teamwork
R
16

Sorry for my bad English.
i had this problem in windows 10, but may be my solution works for you.
i search about this problem for 3 days! and found out this issue occurs because of:

  1. You are using bad VPN:
    for checking this run android studio and manually TYPE (in next item you will know why i am telling this) file address being download in browser. if you can download it, your connection has no problem.
    for example https://dl.google.com/android/repository/addons_list-2.xml
    Android studio download progress image
  2. Your regional format is not to set English:
    as you can see in previous image, link contains a number (...addons_list-2) but because of regional format it not shown in English format and so it can not be downloaded. i used fiddler to recognize this; in fiddler link contained a "?" instead of "2"; so just change you regional format
Roughspoken answered 16/5, 2021 at 7:25 Comment(5)
It seems that you have given the reason but not the solution. Does your 'regional format' mean system setting or software setting?Hundredpercenter
I mean system settingRoughspoken
Thank you! This is excactly what I wantedHundredpercenter
Weird! Changing the regional format setting works for me. Thanks!Rand
Thanks :) , it work for me , I'd changed format to : English(United States)Galina
W
0

I had gone through this problem,

  1. First you have to go to the network icon and then right click on it and select open nitwork and internet sitting.

  2. Then click on the change adapter option .

  3. Then choose the wifi network, right-click on it, and then click on disable.

  4. Then close Android Studio and go back to activate the mode that we made disable by pressing enable.

Welton answered 29/6, 2021 at 15:13 Comment(0)
S
0

My problem is that I was using a wrong proxy.

  1. disable internet
  2. open android studio
  3. it would be a pop up for "setup proxy"
  4. choose "no proxy"
  5. enable internet
  6. start android studio
Sudarium answered 13/2, 2022 at 8:0 Comment(0)
V
-1

I met this problem this morning.

Because I did not drop Android Studio into Application directory, It disappear after it be drop into /Users/{user name}/Applications directory, you can drop it in /Applications or Launchpad, etc.

or, you can check SDK directory if exist, try to manual create emulator directory, but I think it not best way to try, because we should find the root cause (like access right, etc).

Good luck, hope you fix it already.

Vanmeter answered 28/4, 2020 at 4:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.