-
Notifications
You must be signed in to change notification settings - Fork 12
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
exceptions #16
Comments
Ditto. We get an unhandled exception when calling
But that is by design, as if a specific package is not installed, then Android throws an exception. But we cannot seem to catch it in Flutter code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E/DartMessenger(21029): Uncaught exception in binary message listener
E/DartMessenger(21029): java.lang.IllegalStateException: Reply already submitted
E/DartMessenger(21029): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:431)
E/DartMessenger(21029): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:287)
E/DartMessenger(21029): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/DartMessenger(21029): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/DartMessenger(21029): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/DartMessenger(21029): at android.os.Handler.handleCallback(Handler.java:942)
E/DartMessenger(21029): at android.os.Handler.dispatchMessage(Handler.java:99)
E/DartMessenger(21029): at android.os.Looper.loopOnce(Looper.java:211)
E/DartMessenger(21029): at android.os.Looper.loop(Looper.java:300)
E/DartMessenger(21029): at android.app.ActivityThread.main(ActivityThread.java:8348)
E/DartMessenger(21029): at java.lang.reflect.Method.invoke(Native Method)
E/DartMessenger(21029): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
E/DartMessenger(21029): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
E/MethodChannel#android_package_manager(21029): Failed to handle method call
E/MethodChannel#android_package_manager(21029): java.lang.IllegalArgumentException: Unsupported value: 'kotlin.Unit' of type 'class kotlin.Unit'
E/MethodChannel#android_package_manager(21029): at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:297)
E/MethodChannel#android_package_manager(21029): at io.flutter.plugin.common.StandardMethodCodec.encodeSuccessEnvelope(StandardMethodCodec.java:61)
E/MethodChannel#android_package_manager(21029): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:272)
E/MethodChannel#android_package_manager(21029): at lab.neruno.android_package_manager.AndroidPackageManagerPlugin.runWithPackageNameAndFlags(AndroidPackageManagerPlugin.kt:315)
E/MethodChannel#android_package_manager(21029): at lab.neruno.android_package_manager.AndroidPackageManagerPlugin.getApplicationLabel(AndroidPackageManagerPlugin.kt:626)
E/MethodChannel#android_package_manager(21029): at lab.neruno.android_package_manager.AndroidPackageManagerPlugin.onMethodCall(AndroidPackageManagerPlugin.kt:83)
E/MethodChannel#android_package_manager(21029): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/MethodChannel#android_package_manager(21029): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/MethodChannel#android_package_manager(21029): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/MethodChannel#android_package_manager(21029): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/MethodChannel#android_package_manager(21029): at android.os.Handler.handleCallback(Handler.java:942)
E/MethodChannel#android_package_manager(21029): at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#android_package_manager(21029): at android.os.Looper.loopOnce(Looper.java:211)
E/MethodChannel#android_package_manager(21029): at android.os.Looper.loop(Looper.java:300)
E/MethodChannel#android_package_manager(21029): at android.app.ActivityThread.main(ActivityThread.java:8348)
E/MethodChannel#android_package_manager(21029): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#android_package_manager(21029): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
E/MethodChannel#android_package_manager(21029): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
The text was updated successfully, but these errors were encountered: