Error waiting for a debug connection: ProcessException: adb did not report forwarded port

最近入坑flutter,刚想体验hot reload的飞速快感时,却出现“Error waiting for a debug connection: ProcessException: adb did not report forwarded port”这个错误,最终在flutter的github中找到了相同的问题,也把解决办法记录下。

update adb.png

很简单,答案说的是升级adb,其实是更新SDK Platform-Tools就可以了。


setting.png

设置界面,找到对应的Android SDK Platform-Tools 点击OK就会下载最新的版本了

restart.png

然后重启Android studio即可

你可能感兴趣的:(Error waiting for a debug connection: ProcessException: adb did not report forwarded port)