About multi_ image_ Error reporting for picker

The official use case is very simple. It can’t be adjusted and an error is reported. Shutter image picker is already active, null exception

The error message is too simple to see anything. It is probably that the shutter image picker has been turned on but not displayed. It should have been turned on but failed for other reasons. You can see some information in the debug log. Finally, run the example provided by the official directly

In fact, we need more than dart code. You also need to add read and write permissions to androidmanifest.xml

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.CAMERA" />

You also need to add Android/APP/SRC/main/RES/drawable anydpi/IC in example_back_The file arrow.xml is copied to the corresponding directory of. Android, which is used in the example code. If you comment it out, you don’t have to

          backButtonDrawable: "ic_back_arrow",

Finally, but there are still a lot of error logs in the log. It should be that there are problems with some pictures when reading all the pictures in the album

 

Similar Posts: