flutter in the pit

Network Load picture does not come out

flutter debug under Image.network () is normal
but the release is not normal, the network will not load the picture
because android / app / src / main / AndroidManifest.xml need to add

<uses-permission android:name="android.permission.INTERNET" />

Picture this network will be able to load out.

Compile command combination, build, delete the old app, install the app

flutter build apk --debug && adb uninstall com.example.mytest && adb install -r build/app/outputs/apk/debug/app-debug.apk

Guess you like

Origin www.cnblogs.com/jeroen/p/10994787.html