与运行android 6.0的手机连接时android studio中没有可调试的进程 [英] No debuggable processes in android studio when connected with phone which runs android 6.0

查看:641
本文介绍了与运行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.

这篇关于与运行android 6.0的手机连接时android studio中没有可调试的进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆