-5

Im having trouble getting adb to work, i keep getting ''adb' is not recognized as an internal or external command, operable program or batch file', I found out i need to set my system path so i tried to locate adb.exe

I found it in three folfder:

  • C:\Users\Sven\AppData\Local\Android\sdk\platform-tools
  • C:\Users\Sven\AppData\Local\Android\sdk1\platform-tools
  • C:\Users\Sven\AppData\Local\Android\sdk2\platform-tools

How do i know which one to add to PATH? the date created looks almost the same.

Community
  • 1
  • 1
Sven van den Boogaart
  • 11,833
  • 21
  • 86
  • 169
  • Whichever one has the sdk you wish to use? You have 3 copies on your PC, none of them labeled. We have no way of knowing which is which. – Gabe Sechan Jan 06 '16 at 01:05
  • @GabeSechan thats exactly my problem ;) I just updated android studio and this happend.. – Sven van den Boogaart Jan 06 '16 at 01:06
  • Probably some odd bug, but there's no way for us to really know. I'd guess whichever is latest and see if it works. Adb would probably work from any of the 3, the app itself isn't one that changes a whole lot. – Gabe Sechan Jan 06 '16 at 01:08

1 Answers1

1

Doesn't make much difference.. You can use whichever you like..I would suggest- C:\Users\Sven\AppData\Local\Android\sdk2\platform-tools since this looks to to be latest if you go with "sdk2"

rupesh jain
  • 3,410
  • 1
  • 14
  • 22