Getting "Connecting via ADB to localhost: 5277 ... failed"

Hi everyone, I'm trying to start the Desktop Head Unit (DHU) using ADB. I followed all the steps described in installing DHU . But I get the following error.

enter image description here

Please help me how to solve this problem.

+4
source share
4 answers

Make sure you follow these steps:

  • Make sure that developer mode is enabled on your phone.
  • Install Android Auto on your phone.
  • Turn on developer mode by quickly clicking on the title in the application.
  • 3- " ".
  • .
  • tcp "adb forward tcp:5277 tcp:5277" ( , adb kill-server). , .
  • DHU, desktop-head-unit.exe
+8

"

, , . . , , "Android Auto" . , - , . , ". AndroidPolice

Android Android;)

+1

, android auto ( ) " ". DHU .

0

Try the following:
Go to sdk \ platform-tools and enter:
"adb forward tcp: 5277 tcp: 5277"
This configuration allows DHU to connect to the head unit server running on your phone through a TCP socket.
This allowed me to connect, but I still get the error message "Could not read from transport."

0
source

Source: https://habr.com/ru/post/1615516/


All Articles