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:
- Android Error: open failed: EACCES (Permission denied)
- Permissions required by Vibrator.vibrate: android.permission.VIBRATE
- How to Solve Android Error: java.lang.SecurityException: Permission Denial
- Solution to the error of “may missing Internet permission” in Android
- Socket failed:EACCES(Permission denied) [How to Solve]
- Appium Error: An unknown server-side error occurred while pro…g\\\\npm\\\\node_modules\\\\appium\\\\node_modules
- D/NetworkSecurityConfig: No Network Security Config specified, using platform default
- Android Studio Failed to Install app Error: INSTALL_FAILED_DUPLICATE_PERMISSION
- If permissions 0644 for ‘/ root /. SSH / ID appears_ It is OK to reduce the permission to 0600
- How to Remove Error: “Permission is only granted to system apps”