error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
09-17 10:49:17.584 433807 433807 W adb : network.cpp:149 failed to connect to '127.0.0.1:5037': Connection refused
- cannot start server on remote host
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
09-17 10:49:19.592 433818 433818 W adb : network.cpp:149 failed to connect to '127.0.0.1:5037': Connection refused
- cannot start server on remote host
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
09-17 10:49:21.600 433828 433828 W adb : network.cpp:149 failed to connect to '127.0.0.1:5037': Connection refused
- cannot start server on remote host
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
^C[ServerSignal] Received SIGINT (2); server PID=404243, parent PID=403805, frame=/home/xmanzheng/miniconda3/lib/python3.13/asyncio/runners.py:118
INFO: Shutting down
INFO: Waiting for application shutdown.
[QueueWorker] Dispatcher received cancellation signal.
INFO: Application shutdown complete.
INFO: Finished server process [404243]
🛑 UI Server stopped.
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ uv run artemis helper install
ℹ Activated local ADB server endpoint 127.0.0.1:5037
No authorized device is attached.
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
TB323FU:/ # exit
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb kill-server
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
- daemon not running; starting now at tcp:8848
- daemon started successfully
TB323FU:/ # exit
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ ANDROID_ADB_SERVER_PORT=8848 uv run artemis helper install
ℹ Activated local ADB server endpoint 127.0.0.1:5037
No authorized device is attached.
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ echo $ANDROID_ADB_SERVER_PORT
8848
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ unset ANDROID_ADB_SERVER_PORT
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
- daemon not running; starting now at tcp:5037
- daemon started successfully
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb kill-sevrer
adb: unknown command kill-sevrer
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb kill-server
(base) xmanzheng@xmanzheng-QiTianM437-N000:/artemis$ adb shell
- daemon not running; starting now at tcp:5037
- daemon started successfully
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:~/artemis$ adb shell
TB323FU:/ # exit
After unset ANDROID_ADB_SERVER_PORT, it can run successfully.
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
09-17 10:49:17.584 433807 433807 W adb : network.cpp:149 failed to connect to '127.0.0.1:5037': Connection refused
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
09-17 10:49:19.592 433818 433818 W adb : network.cpp:149 failed to connect to '127.0.0.1:5037': Connection refused
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
09-17 10:49:21.600 433828 433828 W adb : network.cpp:149 failed to connect to '127.0.0.1:5037': Connection refused
error: cannot connect to daemon at tcp:127.0.0.1:5037: failed to connect to '127.0.0.1:5037': Connection refused
^C[ServerSignal] Received SIGINT (2); server PID=404243, parent PID=403805, frame=/home/xmanzheng/miniconda3/lib/python3.13/asyncio/runners.py:118
INFO: Shutting down
INFO: Waiting for application shutdown.
[QueueWorker] Dispatcher received cancellation signal.
INFO: Application shutdown complete.
INFO: Finished server process [404243]
🛑 UI Server stopped.
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ uv run artemis helper install/artemis$ adb shellℹ Activated local ADB server endpoint 127.0.0.1:5037
No authorized device is attached.
(base) xmanzheng@xmanzheng-QiTianM437-N000:
TB323FU:/ # exit
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ adb kill-server/artemis$ adb shell(base) xmanzheng@xmanzheng-QiTianM437-N000:
TB323FU:/ # exit
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ ANDROID_ADB_SERVER_PORT=8848 uv run artemis helper install/artemis$ echo $ANDROID_ADB_SERVER_PORTℹ Activated local ADB server endpoint 127.0.0.1:5037
No authorized device is attached.
(base) xmanzheng@xmanzheng-QiTianM437-N000:
8848
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ unset ANDROID_ADB_SERVER_PORT/artemis$ adb shell(base) xmanzheng@xmanzheng-QiTianM437-N000:
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ adb shell/artemis$ adb shelladb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ adb shell/artemis$ adb kill-sevreradb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:
adb: unknown command kill-sevrer
(base) xmanzheng@xmanzheng-QiTianM437-N000:
/artemis$ adb kill-server/artemis$ adb shell(base) xmanzheng@xmanzheng-QiTianM437-N000:
adb: no devices/emulators found
(base) xmanzheng@xmanzheng-QiTianM437-N000:~/artemis$ adb shell
TB323FU:/ # exit
After unset ANDROID_ADB_SERVER_PORT, it can run successfully.