- [flutter]加载网络图片报错: Bad state: In
- flutter Bad state: Insecure HTTP
- Flutter Bad state: Insecure HTTP
- Flutter 报错 :Bad state: Insecure
- Flutter 报错 :Bad state: Insecure
- flutter 报错Bad state: Insecure HT
- Flutter 报错: Insecure HTTP is not
- flutter: Bad state: No element
- Flutter--Insecure HTTP is not al
- flutter Bad state No element报错
网络请求时候出现 Bad state: Insecure HTTP is not allowed,
需要配置项目,
iOS端:打开Xcode配置info.plist文件,添加App Transport Security Settings -> Allow Arbitrary Loads为true
安卓端:打开android/app/src/main/AndroidManifest.xml文件,
添加:
<uses-permission android:name="android.permission.INTERNET"/>

网友评论