Android studio does not contain adb, you need android sdk for it (it is installed on first run of android studio 0.9.x and newer). adb is located in sdkplatform-tools . it's possible to add to path in windows and use terminal inside android studio only by command: adb shell and after use su get root shell.. I work on real device, and android studio recognize it without issue. suddenly when i exit android studio and disconnect and reconnect my device, it doesn't recognize my device anymore, i have to exit and restart android studio. i can't find a way to "reset adb" like android studio.. The android debug bridge (adb) is a versatile command line tool that lets you communicate with and control an android-powered device over a usb link from a computer..
To launch android studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh. select whether you want to import previous android studio settings or not, then click ok. the android studio setup wizard guides you through the rest of the setup, which includes downloading android sdk components that are required. In android studio, right click file > settings or ctrl + alt+s a new window will appear, select tools and terminal, and in the start directory field, enter the path to the adb . click ok, try to enter adb commands in the terminal, it should be recognized now. If android_log_tags is defined with a valid logtags value and isn't empty, the emulator uses its value to enable logcat output to the terminal by default. you can also redirect the same, or other, log messages to the terminal through adb..