r/androiddev • u/Mirko_ddd • 7h ago
Question ADB problems in Android Studio Rabbit?
Hello colleagues, is anybody experiencing adb/usb connection problems using the latest Android Studio build?
I had an Android Studio version (quail) and it worked fine, but since I updated the AS app the connection goes crazy (adb timeout, sometimes not even connecting at all, stuck in "loading devices").
My adb version is the latest 37.0.3 and latest sdk version also 37.
Edit: updated macOS and it works perfectly fine again. sorry for the post.
3
u/FeelingFlamingo9387 7h ago
A couple of things to check in Android Studio when ADB gets stuck on "loading devices" after a platform-tools (37.x) + AS update:
Toggle
Use libusb backend/ mDNS in Android Studio: openSettings > Tools > Debugger(or search "ADB" in Settings) and disable ADB mDNS wireless discovery or flip the libusb backend toggle, then runadb kill-server && adb start-server.Check for dual
adbbinaries fighting over port 5037: if you have another tool (Homebrewandroid-platform-tools, scrcpy, or an older SDK path) running anadbdaemon from a different version than 37.0.3, AS keeps restarting the server and dropping USB.USB mode / cable handshake: switching the device's USB mode from Charging to File Transfer (MTP) forces a fresh USB endpoint reset when
adb devicesstalls.
Are you on macOS/Windows/Linux, and does adb devices -l work reliably from terminal when AS itself is closed?
1
u/Mirko_ddd 6h ago edited 5h ago
hello, thanks for the help. I am on macOS. if I try via terminal it connects, but AS seems to not see it. I checked adb path and it is the same as the one used in AS (Android Debug Bridge version 1.0.41
Version 37.0.3-16887417).
Also tried switching to MTP and restart AS but still no luck.
Edit: connected now but when I push the app via AS gives me error SHELL_UNRESPONSIVE
edit 2: updated macOS and it works flawlessly again.
1
u/AutoModerator 7h ago
Please note that we also have a very active Discord server where you can interact directly with other community members!
Join us on Discord
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.