adb connect fail
FourLeafTec opened this issue · 3 comments
FourLeafTec commented
When connect to remote device ,i get an invalid pointer
error after read_key_file
❯ adb connect frps:8555
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 618514
--- adb starting (pid 618514) ---
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Android Debug Bridge version 1.0.40
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Version 28.0.1-SOONG BUILD NUMBER PLACEHOLDER
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Wetest branch:master rev:bfb2c9e+ tag:v1.0.40
adb I 10-17 01:08:31 618514 618514 main.cpp:56] Installed as /home/coder/android/platform-tools/adb
adb I 10-17 01:08:31 618514 618514 main.cpp:56]
adb I 10-17 01:08:31 618514 618514 auth.cpp:421] adb_auth_init...
adb I 10-17 01:08:31 618514 618514 auth.cpp:174] read_key_file '/home/coder/.android/adbkey'...
free(): invalid pointer
* failed to start daemon
error: cannot connect to daemon
System: Debian 11
Arch: Arm64
GLIBC: 2.31
DevKiDMediaCreation commented
Did you restart the services?
DevKiDMediaCreation commented
Can I have the full log?
FourLeafTec commented
Sorry,it's long ago for me, the environment has been destory.
For my case.I use a server on cloud to develop an android app. Use frp as a proxy to connect the device. Maybe there is some strange for the chain.