【发布时间】:2016-01-15 07:43:06
【问题描述】:
我使用 AS 1.4 已经有一段时间了,新的原生调试功能特别有用。
但是本机调试在我的三星 Galaxy Note 10.1 2014 (Android 4.4) 上不起作用。当我尝试启动本机调试会话时,我看到以下消息:
Starting LLDB server: run-as com.example.hellojni /data/data/com.example.hellojni/lldb/bin/start_lldb_server.sh /data/data/com.example.hellojni/lldb /data/data/com.example.hellojni/lldb/tmp/platform.port1445003703353 "lldb process:gdb-remote packets"
Error while launching debug server on device: com.android.tools.ndk.run.DebuggerContext$StartServerException: java.lang.IllegalStateException:
Failed to read platform port /data/data/com.example.hellojni/lldb/tmp/platform.port1445003703353
有没有办法解决这个问题?
【问题讨论】:
标签: android debugging android-studio android-ndk