首页 > 解决方案 > 我如何解决这些问题,连接到服务协议时出错:无法连接到 http://127.0.0.1:52821/4-VBDlY84wk=/

问题描述

Note: Recompile with -Xlint:deprecation for details.
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Error connecting to the service protocol: failed to connect to http://127.0.0.1:52821/4-VBDlY84wk=/

连接服务协议出错:连接http://127.0.0.1:52821/4-VBDlY84wk=/失败

Launching lib\main.dart on SM G530H in debug mode...
Running Gradle task 'assembleDebug'...
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.4.0\android\src\main\java\io\flutter\plugins\firebase\core\FlutterFirebaseCorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.4.0\android\src\main\java\io\flutter\plugins\firebase\firestore\FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-2.4.0\android\src\main\java\io\flutter\plugins\firebase\firestore\streamhandler\TransactionStreamHandler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-3.0.1\android\src\main\java\io\flutter\plugins\firebase\auth\FlutterFirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Error connecting to the service protocol: failed to connect to http://127.0.0.1:52821/4-VBDlY84wk=/

标签: flutter

解决方案


推荐阅读