0

My android studio version is 3.5 .I can't debug app in android studio. I got the following message

Starting LLDB server: /data/data/com.example.core.app/lldb/bin/start_lldb_server.sh /data/data/com.example.core.app/lldb unix-abstract /com.example.core.app-0 platform-1568620766570.sock "lldb process:gdb-remote packets"
Failed to connect port

I tried changing phone and cable.

I have lldb installed.

I have also debug enabled

buildTypes {
    debug {
        debuggable true
    }

    release {
        debuggable false
    }
}

I have also tried restarting adb with following command

adb kill-server

adb start-server

My operating system ubuntu 18.04

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
mW3
  • 189
  • 3
  • 25
  • Have you used the emulator before? If yes, wipe emulator data. Then go to Build > Clean Project or Build > Rebuild Project. – MarkWalczak Sep 16 '19 at 08:30
  • No , I am using real device always – mW3 Sep 16 '19 at 08:33
  • 1
    See if you get the same problem with an emulator, and update your question with results. This would help figure out if it's something with your device or cable. – kenny_k Sep 16 '19 at 08:36
  • you may look https://stackoverflow.com/questions/33172427/android-studio-1-4-cannot-launch-debug-server/57770074#57770074 – Faizzy Sep 16 '19 at 09:08

1 Answers1

0

If you have a doubt about your cable try connect your device over Wifi. using adb->

open cmd.

adb tcpip 5555

adb connect <your device IP address>:5555
SRJ
  • 49
  • 7