当前位置:网站首页>(Flutter报错)Cannot run with sound null safety, because the following dependencies
(Flutter报错)Cannot run with sound null safety, because the following dependencies
2022-08-10 05:35:00 【丶咸鱼】
在Flutter中引入第三方库报错Cannot run with sound null safety, because the following dependencies。这是出现了don’t support null safe的问题,因为在Flutter2中使用了null safety(空安全)技术,如果出现null,就会报错。这种安全机制大大减少了null error。解决办法如下:
- 在终端运行
flutter run --no-sound-null-safety - “Edit Configurations” (在run配置里) → “Additional run args” 添加
--no-sound-null-safetyAndroidStudio前提下
边栏推荐
- Pytorch配置与实战--Tips
- LeetCode refers to offer 10-I. Fibonacci sequence (simple)
- LeetCode 94.二叉树的中序遍历(简单)
- 51单片机AD590温度测量ADC0832运放2.73V减法电压变换
- MySQL中MyISAM为什么比InnoDB查询快
- Small program wx.request simple Promise package
- Exploratory Data Analysis EDA
- pytorch-09. Multi-classification problem
- pytorch-10. Convolutional Neural Networks
- LeetCode 292. Nim Game (Simple)
猜你喜欢

菜谱小程序源码免费分享【推荐】

Notes for Netual Network

力扣——省份数量

The way for programmers to make money from a sideline business and increase their monthly income by 20K

Convolutional Neural Network (CNN) for Clothing Image Classification

LeetCode refers to offer 10-I. Fibonacci sequence (simple)

51单片机AD590温度测量ADC0832运放2.73V减法电压变换

LeetCode 1720.解码异或后的数组(简单)

测一测异性的你长什么样?

PyTorch 之 可视化网络架构
随机推荐
el-dropdown drop-down menu style modification, remove the small triangle
符号表
【List练习】遍历集合并且按照价格从低到高排序,
卷积神经网络(CNN)实现mnist手写数字识别
集合 set接口
PyTorch 之 可视化网络架构
.Net Core imports tens of millions of data to Mysql
PyTorch之模型定义
21天挑战杯MySQL——Day06
PyTorch之CV
Mini Program Study Notes: Communication between Mini Program Components
String常用方法
详解样条曲线(上)(包含贝塞尔曲线)
pytorch-10. Convolutional Neural Networks
Notes for RNN
Pytorch配置与实战--Tips
LeetCode 2011. Variable Value After Action (Simple)
Notes for SVM
优先队列
WeChat applet wx.writeBLECharacteristicValue Chinese character to buffer problem