Xamarin.Android真机调试问题

当把安装过的app在手机上删除后,再运行调试 报错ADB0000 Could not determine the installation path...

开始在网上找到删除Bin和Obj目录无效

下面说一下解决方法

  • 手机和电脑连在同一wifi下

  • 获取手机的ip地址 一般情况下为wlan->已连接wifi详细信息 即可看到手机ip地址

  • 通过USB连接到电脑

  • 重启Adb 打开Adb命令提示符

  • 键入 adb tcpip 5555 使其在端口5555上使用TCP

  • 断开usb连接

  • 连接设备 adb connect [ip]:5555

提示 connected to xxx:5555 表明连接成功

  • 接下来通过 Adb uninstall 【要卸载应用的包名】 卸载我们之前调试后手动卸载的应用

然后即可调试成功

猜你喜欢

转载自www.cnblogs.com/hklol/p/11010734.html