Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Android Crash #114

Open
liusilong opened this issue Aug 8, 2022 · 4 comments
Open

Android Crash #114

liusilong opened this issue Aug 8, 2022 · 4 comments

Comments

@liusilong
Copy link

E/AndroidRuntime(15736): java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(15736): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:286)
E/AndroidRuntime(15736): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:267)
E/AndroidRuntime(15736): at pt.tribeiro.flutter_plugin_pdf_viewer.FlutterPluginPdfViewerPlugin$1$2.run(FlutterPluginPdfViewerPlugin.java:92)
E/AndroidRuntime(15736): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(15736): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15736): at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(15736): at android.os.Looper.loop(Looper.java:313)
E/AndroidRuntime(15736): at android.app.ActivityThread.main(ActivityThread.java:8669)
E/AndroidRuntime(15736): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(15736): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
E/AndroidRuntime(15736): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
I/Process (15736): Sending signal. PID: 15736 SIG: 9

@hamza-bilal-gaya
Copy link

This plugin is being crashing on android on any device with this error in below screenshot. I think on android there is some native configuration missing for android main manifest file. As I am not a native android developer, I cannot identify this error I hope you'll resolve this error in the next version of this package.
Screenshot 2022-09-15 at 12 47 19 PM (2)

@liusilong
Copy link
Author

liusilong commented Sep 15, 2022 via email

@frankperez87
Copy link

Seems like Version 2.0.2 solved the issue for me. I posted what I did here.

#117

@shahadat-polygon
Copy link

 advance_pdf_viewer:
    git:
      url: https://github.com/lohanidamodar/pdf_viewer.git
      ref: 4e5d96be29de515f1081c0b6897741b8dca84722 

It's working for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants