Android Studio 1.4 cannot launch debug server

后端 未结 2 1109
闹比i
闹比i 2021-01-07 04:04

I\'ve been working with AS 1.4 for quite a while and new native debugging feature is especially useful.

However native debugging does not work on my Samsung Galaxy N

2条回答
  •  轮回少年
    2021-01-07 04:45

    See https://code.google.com/p/android/issues/detail?id=187003

    You need root access on your device, but then chmod 4750 /system/bin/run-as may solve the problem.

    If you don't have root access, you can modify your app, and start LLDB server with your package's identity, using Runtime.exec().

提交回复
热议问题