-
Notifications
You must be signed in to change notification settings - Fork 147
v2.0.1 throws MissingPluginException and crashes on Android #96
Comments
I am also receiving this exception on version 2.0.1 of advance_pdf_viewer using my Android device. E/flutter ( 8502): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method getPage on channel flutter_plugin_pdf_viewer) flutter doctor -v: [✓] Flutter (Channel stable, 2.8.0, on macOS 11.6 20G165 darwin-x64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5) [✓] Xcode - develop for iOS and macOS (Xcode 13.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2020.3) [✓] IntelliJ IDEA Community Edition (version 2018.1.6) [✓] VS Code (version 1.63.2) [✓] Connected device (2 available) |
same here I downgraded back to 2.0.0 and it works ok, just throws the Android Deprecated old error |
i had the same issue, but for me even downgrade to 2.0.0 won't work. |
After I change advance_pdf_viewer: ^2.0.0 to advance_pdf_viewer: 2.0.0 works. |
same here. |
Having the same issue on android when I upgraded to 2.0.1. Does anyone know how to resolve it? Kindly tell. |
same issue here
|
Facing same issue, Any solution for this? |
I do have this issue on v.2.1.0
I think it is fine on 2.0.0 before |
This package is working, trying to use it. |
There is the error you mention, and also there should be a else block after the if here: if (pageResult == null) {
Log.d(TAG, "Retrieving page failed.");
result.notImplemented();
}
mainThreadHandler.post(new Runnable() {
@Override
public void run() {
result.success(pageResult);
}
}); I created a pull request #101 |
Hi, when will be a new release with fix available? Thanks! |
MissingPluginException is thrown and crashes my app when I use v2.0.1 on Android.
v2.0.0 on Android does not have this issue.
v2.0.1 on iOS does not have this issue.
Is there something I need to update to use v2.0.1 on Android?
Thrown from:
Call stack:
flutter doctor -v:
The text was updated successfully, but these errors were encountered: