Skip to content Skip to sidebar Skip to footer

Android Studio Debug Native Code Lldb Server Work Infinity

I have Android app which are writed use Java and C++/JNI code. My C++/JNI part work bad. I want to debug native code. I work in Android Studio. I did all step which take official

Solution 1:

I found error. But I did not understand. When I test app from USB cable all work good. But when I want to test my app through wifi (I use Android Wifi ADB) LLDB Debug server start, but not attach to process.

If I debug java code use java debugger all work good.


Solution 2:

All output in debug console:

Connecting to org.temp.test Waiting for application to start debug server Waiting for application to come online: org.temp.test.test | org.temp.test Connecting to org.temp.test

Now Launching Native Debug Session

Starting LLDB server: /data/data/org.temp.test/lldb/bin/start_lldb_server.sh /data/data/org.temp.test/lldb unix-abstract /data/data/org.temp.test/lldb/tmp platform-1524470360668.sock "lldb process:gdb-remote packets"


Post a Comment for "Android Studio Debug Native Code Lldb Server Work Infinity"