반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- tensorflow
- 클래스
- CLASS
- TTS
- 딥러닝
- timm
- 터미널
- GPT
- error
- python
- OS
- Torch
- ChatGPT
- Android
- CPU
- string
- pytorch
- openAI
- humble
- socketio
- linux
- 분당맛집
- 스팸
- opencv
- ubuntu
- CUDA
- 판교
- ros
- 맛집
- ROS2
Archives
- Today
- Total
RoBoLoG
[adb] adb server version (41) doesn't match this client (39); killing... 본문
Error Solution/Etc
[adb] adb server version (41) doesn't match this client (39); killing...
SKJun 2023. 2. 23. 17:23
[adb] adb server version (41) doesn't match this client (39); killing...
Ubuntu에서 아래와 같이 adb 관련 모든 기능이 실행이 안될 때 어떻게 탈출해야할까?
user@user:~$ adb devices
List of devices attached
adb server version (41) doesn't match this client (39); killing...
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 4260
--- adb starting (pid 4260) ---
adb I 02-23 17:13:09 4260 4260 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 02-23 17:13:09 4260 4260 main.cpp:57] Version 1:8.1.0+r23-5ubuntu2
adb I 02-23 17:13:09 4260 4260 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 02-23 17:13:09 4260 4260 main.cpp:57]
adb I 02-23 17:13:09 4260 4260 adb_auth_host.cpp:416] adb_auth_init...
adb I 02-23 17:13:09 4260 4260 adb_auth_host.cpp:174] read_key_file '/home/kooksung/.android/adbkey'...
adb I 02-23 17:13:09 4260 4260 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb server killed by remote request
* failed to start daemon
error: cannot connect to daemon
1. 인터넷을 찾아보니 아래 방법이 먹힌다고 함
adb kill-server
adb start-server
하지만 먹히지 않고 똑같은 에러 발생... 분노 축적 시작
2. 결국 아래처럼 뭔가 사족을 뭔가 달아야 에러 해결할 수 있었음
adb kill-server
sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
sudo chmod +x /usr/bin/adb
adb start-server
3. 코드를 실행해보니 정상 동작!
user@user:~$ adb devices
List of devices attached
192.168.113.208:5555 device
728x90
반응형