错误
➜ ~ adb devices
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 8933
--- adb starting (pid 8933) ---
06-17 09:21:43.427 8933 8933 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
06-17 09:21:43.427 8933 8933 I adb : main.cpp:63 Version 35.0.1-11580240
06-17 09:21:43.427 8933 8933 I adb : main.cpp:63 Installed as /home/ubuntu/Android/Sdk/platform-tools/adb
06-17 09:21:43.427 8933 8933 I adb : main.cpp:63 Running on Linux 6.8.0-35-generic (x86_64)
06-17 09:21:43.427 8933 8933 I adb : main.cpp:63
06-17 09:21:43.429 8933 8933 I adb : auth.cpp:416 adb_auth_init...
06-17 09:21:43.429 8933 8933 I adb : auth.cpp:152 loaded new key from '/home/ubuntu/.android/adbkey' with fingerprint 2E682009DF141836AAF1560A53B9101B6D339D6C8568800ADF2628F0D539BA50
06-17 09:21:43.429 8933 8933 I adb : auth.cpp:391 adb_auth_inotify_init...
06-17 09:21:44.430 8933 8933 E adb : usb_libusb.cpp:571 failed to open device: Access denied (insufficient permissions)
06-17 09:21:44.430 8933 8933 I adb : transport.cpp:1150 O7J7B6EIEE6PEMDI: connection terminated: failed to open device: Access denied (insufficient permissions)
* failed to start daemon
adb: failed to check server version: cannot connect to daemon
解决
重启adb服务,以root用户运行
➜ platform-tools pwd
/home/ubuntu/Android/Sdk/platform-tools
➜ platform-tools sudo ./adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully