Search code examples
androidshellandroid-studiodebianadb

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.


Solution

  • 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.