Where is adb.exe in windows 10 located?

2019-03-07 22:39发布

I installed android studio 1.5 on windows 10.

When I type in command line:

adb

I get command not found.

Where can I get it from or where is it installed?

12条回答
趁早两清
2楼-- · 2019-03-07 23:28

Open a cmd window and type where adb.exe

For me

D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe

查看更多
太酷不给撩
3楼-- · 2019-03-07 23:29

I know the question was in the context of "android studio 1.5", but I found this answer and have Xamarin installed.

In this case, the location is C:\Program Files (x86)\Android\android-sdk\platform-tools

查看更多
混吃等死
4楼-- · 2019-03-07 23:38

You can find it here:

%USERPROFILE%\AppData\Local\Android\sdk\platform-tools

To save yourself the hassle in the future, add it to your path:

  1. Click 'Start'.
  2. Type 'Edit environment variables for your account', and click it.
  3. Double click PATH.
  4. Click 'New'.
  5. Paste that path in.
  6. Click 'OK', click 'OK', and restart any command prompts you have open.
查看更多
乱世女痞
5楼-- · 2019-03-07 23:38

Since you already have Android Studio installed, and require the environment variable ANDROID_HOME to be set, the easy way to do this is to add %ANDROID_HOME%\platform-tools to your path.

查看更多
可以哭但决不认输i
6楼-- · 2019-03-07 23:38

enter image description here

I have taken snapshot of adb.exe directory. I hope it helps you best,

查看更多
Ridiculous、
7楼-- · 2019-03-07 23:39

if you know SDK'path on your system, (by default, it's in /users/appdata/local/Android/...

then, open platform-tools or platform/platform-tools and launch cmd...

it's there you can write adb

查看更多
登录 后发表回答