flutter - 我如何解决这些问题,连接到服务协议时出错:无法连接到 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=/
解决方案
推荐阅读
- scrapy - 如果刮板空闲超过 20 秒,则产生更多请求
- android - Android Room:“没有这样的桌子”的问题
- css - 带渐变和尖端的动态高度按钮
- python - 在 Python 中更改 Windows 缩放比例
- c - c中的局部变量和内存
- webpack - 构建服务器端渲染包时“未定义自我”
- azure-devops - Chocolatey 无法在 Azure Pipeline 上安装 Inno Setup
- bash - 如何在等待用户输入时更改 Bash 脚本的输出?
- java - 如何获取java应用程序的所有包?
- javascript - 如何从异步 php db 搜索向地理编码器发送地址