Could not connect to remote proc

2017-07-28  本文已影响4429人  MaxZing

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>

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

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

上一篇 下一篇

猜你喜欢

热点阅读