How to handle Superboard file upload failure?
2021-10-15
Products / Plugins:File sharing / Super Board
Platform / Framework:All
- Please troubleshoot the failure reason according to the error code.
- Please check if the uploaded file complies with the file specification.
- The Android platform SDK version 2.0 does not support the partitioned storage feature introduced in Android Q. If targetSdkVersion is set to 30 or higher, it will cause file upload failure. The solution is as follows:
- Upgrade the SDK to the latest version (recommended).
- Set targetSdkVersion <=28 to target Android 9 or lower.
- Set targetSdkVersion = 29, and add
android:requestLegacyExternalStorage="true"in the manifest.

For Android Q storage permission behavior changes, please refer to Storage - Android.
