I'm getting this error while trying to use flutter_sound. All others permissions are granted right, but "WRITE_EXTERNAL_STORAGE", it says:
I/flutter (18339): startRecorder error: Exception:
PlatformException(FlutterSoundPlugin, NO PERMISSION GRANTED,
android.permission.RECORD_AUDIO or android.permission.WRITE_EXTERNAL_STORAGE)
D/AndroidRuntime(18339): Shutting down VM
E/AndroidRuntime(18339): FATAL EXCEPTION: main
E/AndroidRuntime(18339): Process: com.example.nw, PID: 18339
E/AndroidRuntime(18339): java.lang.RuntimeException: Failure delivering result
ResultInfo{who=@android:requestPermissions:, request=0, result=-1, data=Intent {
act=android.content.pm.action.REQUEST_PERMISSIONS
VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} (has extras)
}} to activity {com.example.nw/com.example.nw.MainActivity}:
java.lang.IllegalStateException: Reply already submitted
I've already tried append tools:remove="androidSdkVersion" or tools:node="replace" to uses-permission in AndroidManifest.xml.
User contributions licensed under CC BY-SA 3.0