报错:
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:52491/Z2UadkBDgn8=/ws
原因:可能是因为android版本太高,从Q换成P就可以了
我用的flutter和dart版本是
Flutter 1.7.8+hotfix.4 • channel stable
Tools • Dart 2.4.0