问题描述
大家!
我被 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".
我的手机是 samsung s5 (android 6.0),root.
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")
原因:我在发布中构建我的应用程序,然后,当我将构建变体更改为调试时,我能够选择流程.
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.
这篇关于当 Android Studio 检测到手机时,logcat 中没有可调试的进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!