user1498691
user1498691

Reputation: 13

adb works in terminal but not in android-studio

I am a little stuck, just setup my computer(debian 64bit) with android studio and adb. I downloaded adb through here.

When I execute adb in the terminal it works, but in android-studio, it can't find my device. The message is: Waiting for device. USB device not found.

Are there any specific tweaks I need to do with android-studio to have it detect my device ? I have configured my /etc/udev/rules.d/51-android.rules set my device in debug and accepted the computer connection (when I run adb shell I can successfuly access the device).

Any ideas ? Thanks.

Upvotes: 1

Views: 7447

Answers (2)

Lokesh Tiwari
Lokesh Tiwari

Reputation: 10586


here is solution. Hope it will help you. It helped me.


It is possible to bypass the problem enabling the legacy mode in the terminal options.


  • Launch a command prompt from windows (win+r and then type cmd)
  • Right click on the title
  • properties
  • options
  • check Use legacy console, then click OK
  • Restart Android Studio

Upvotes: 0

mindex
mindex

Reputation: 1636

Try run "adb kill-server" from command line. After that Android Studio will automatically launch a new adb server process which should pick up your device correctly.

Upvotes: 2

Related Questions