美文网首页
Could not connect to remote proc

Could not connect to remote proc

作者: MaxZing | 来源:发表于2017-07-28 15:09 被阅读4429次

Android Studio
点debug时,出现

Could not connect to remote process. Aborting debug session.

解决办法

在manifest文件中添加
android:debuggable标签

举个栗子:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

<application 
    android:debuggable="true"
    tools:ignore="HardcodedDebugMode">
</application>

还是不行请检查手机的驱动有没有安装,
手机线有没有插好。

再不行就重启电脑,哈哈哈

相关文章

网友评论

      本文标题:Could not connect to remote proc

      本文链接:https://www.haomeiwen.com/subject/fcxflxtx.html