与运行android 6.0的手机连接时android studio中没有可调试的进程
所有人!
我被android studio弄糊涂了. 当我插入手机调试应用程序时,logcat可以检测到我的手机,但是我无法选择进程.它说没有可调试的进程",而不是普通的没有可调试的应用程序".
I got so confused by android studio. when I plug in my phone to debug apps,logcat can detect my phone,but i can not choose process. It said "no debuggable processes",not common "no debuggable applications".
我的手机是植根的三星s5(android 6.0)
My phone is samsung s5 (android 6.0),rooted.
有什么想法吗?
谢谢!
我遇到了类似的问题,当我构建应用程序时,可以在Logcat中选择设备,但不能在进程中选择设备. (相同的消息,没有可调试的进程")
I had a similar issue, when I was building an app, I could select the device in Logcat, but not the process. (same message, "No Debuggable Processes")
原因:我在发行版中构建了我的应用程序,然后,当我将构建变体更改为 debug 时,我能够选择进程.
The reason: I was building my app in release, then, when I changed the build variants to debug, I was able to select the process.