Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android crashes #71

Open
gizemgizg opened this issue Aug 26, 2021 · 0 comments
Open

Android crashes #71

gizemgizg opened this issue Aug 26, 2021 · 0 comments

Comments

@gizemgizg
Copy link

gizemgizg commented Aug 26, 2021

App crashes after granting android permissions.

permissions;

bug;
D/AndroidAudioRecorder(19142): parsing result
D/AndroidAudioRecorder(19142): onRequestPermissionsResult -true
D/AndroidRuntime(19142): Shutting down VM
I/QarthLog(19142): [PatchStore] createDisableExceptionQarthFile
I/QarthLog(19142): [PatchStore] create disable file for com.spott.spott uid is 10259
E/AndroidRuntime(19142): FATAL EXCEPTION: main
E/AndroidRuntime(19142): Process: com.spott.spott, PID: 19142
E/AndroidRuntime(19142): java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=200, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.spott.spott/com.spott.spott.MainActivity}: java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(19142): at android.app.ActivityThread.deliverResults(ActivityThread.java:5471)
E/AndroidRuntime(19142): at android.app.ActivityThread.handleSendResult(ActivityThread.java:5512)
E/AndroidRuntime(19142): at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
E/AndroidRuntime(19142): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
E/AndroidRuntime(19142): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
E/AndroidRuntime(19142): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2386)
E/AndroidRuntime(19142): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(19142): at android.os.Looper.loop(Looper.java:213)
E/AndroidRuntime(19142): at android.app.ActivityThread.main(ActivityThread.java:8178)
E/AndroidRuntime(19142): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(19142): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E/AndroidRuntime(19142): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
E/AndroidRuntime(19142): Caused by: java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(19142): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:155)
E/AndroidRuntime(19142): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:238)
E/AndroidRuntime(19142): at com.zeno.flutter_audio_recorder.FlutterAudioRecorderPlugin.onRequestPermissionsResult(FlutterAudioRecorderPlugin.java:79)
E/AndroidRuntime(19142): at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onRequestPermissionsResult(FlutterEngineConnectionRegistry.java:712)
E/AndroidRuntime(19142): at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onRequestPermissionsResult(FlutterEngineConnectionRegistry.java:412)
E/AndroidRuntime(19142): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onRequestPermissionsResult(FlutterActivityAndFragmentDelegate.java:627)
E/AndroidRuntime(19142): at io.flutter.embedding.android.FlutterActivity.onRequestPermissionsResult(FlutterActivity.java:648)
E/AndroidRuntime(19142): at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:8567)
E/AndroidRuntime(19142): at android.app.Activity.dispatchActivityResult(Activity.java:8417)
E/AndroidRuntime(19142): at android.app.ActivityThread.deliverResults(ActivityThread.java:5464)
E/AndroidRuntime(19142): ... 11 more
I/Process (19142): Sending signal. PID: 19142 SIG: 9
Lost connection to device.

@gizemgizg gizemgizg changed the title Android crashes :( Android crashes Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant