目录

What should I do if "Failed to connect to unix-abstract-connect" is displayed when C++ debugging is started?

Symptom

The error message "Failed to connect to unix-abstract-connect://\*\*\*\*\*\*\*\*\*.sock: Connection shut down by remote side while waiting for reply to initial handshake packet" is displayed when C++ debugging is started.

Solution

  1. Make sure the device image version matches the DevEco Studio version.
  2. If a release certificate is used for signing, switch to a debug certificate and perform signing again.
  3. Go to /data/local/tmp/debugserver/ and delete the folder with the same name as the application package.