0

I don't know what is happening for the past 2 weeks I have been trying to make android studio work and this error keeps popping up and things are not working. Screenshot:

Error message

And then when I try to update sdk platform-tools this it says it doing something but it just sits there.

saying its downloading

Someone please help im going crazy trying to fix this.

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Jogozin
  • 1
  • 1
  • normally it takes some time to install sdk components using android studio - depending on available resources of the pc at that time. how long have you waited for the installation process to complete? – Muntasir Apr 25 '17 at 12:52
  • I waited 4 hours for it to complete – Jogozin Apr 25 '17 at 12:56
  • 1
    have you tried installing this same component using the standalone sdk manager - not using android studio? – Muntasir Apr 25 '17 at 12:59
  • do a: "adb kill-server" on a command line, then try to update again. – ale.m Apr 25 '17 at 13:01
  • Do you mean cmd? – Jogozin Apr 25 '17 at 13:01
  • I haven't tried to install it through the sdk manager. Where do you find it. Im kinda new to this – Jogozin Apr 25 '17 at 13:03
  • do you know where you installed android sdk? if you know, go to that location - inside that location find and open `SDK Manager.exe`. – Muntasir Apr 25 '17 at 13:05
  • I went to the android developer website and it says that in android studio 25.2 and higher does not have the standalone instead something else link: https://developer.android.com/studio/command-line/sdkmanager.html – Jogozin Apr 25 '17 at 13:13
  • @Jogozin yes. run "adb kill-server" on a cmd then try to install api 25 and platform tools again. – ale.m Apr 25 '17 at 13:23
  • when i tried "adb kill-server" it says * server not running * – Jogozin Apr 25 '17 at 13:24
  • @Jogozin go to `C:\Users\Jogo\Appdata\Local\Android\Sdk` - inside that folder, run `SDK Manager.exe` – Muntasir Apr 25 '17 at 13:26
  • http://imgur.com/3Ag8pg3 – Jogozin Apr 25 '17 at 13:29
  • then go to `tools` folder inside that location - then run `android.bat` inside that folder. – Muntasir Apr 25 '17 at 13:31
  • When I run android.bat it flashes and exits. – Jogozin Apr 25 '17 at 13:36
  • looks like you have a problem with your android sdk. if it was working properly, you would see something like [this](http://imgur.com/a/X2SsP). – Muntasir Apr 25 '17 at 13:45
  • I kinda see the same thing but in android studio http://imgur.com/F76VTiJ http://imgur.com/3Ag8pg3 – Jogozin Apr 25 '17 at 13:51
  • there is a slight difference in functionality between what i've shown and what you see. anyways, you can follow [this](https://stackoverflow.com/a/43247051/5456631) so that you can see what i've shown. (before doing that, close android studio) then my instructions should work. – Muntasir Apr 25 '17 at 13:59
  • after doing that, do not update android sdk tools using android studio - then this problem with android sdk will be back again. – Muntasir Apr 25 '17 at 14:03
  • None of those methods worked. Im probably just going to reset my computer.. nothing's working – Jogozin Apr 25 '17 at 14:34

0 Answers0