packages.flutter icon indicating copy to clipboard operation
packages.flutter copied to clipboard

The plugin `native_pdf_view` doesn't have a main class defined

Open agavrel opened this issue 1 year ago • 1 comments

Right after installing:

The plugin `native_pdf_view` doesn't have a main class defined in /home/JohnDoe/.pub-cache/hosted/pub.dev/native_pdf_view-1.0.3/android/src/main/java/io/scer/native_pdf_view/NativePDFViewPlugin.java or
/home/sudbury/.pub-cache/hosted/pub.dev/native_pdf_view-1.0.3/android/src/main/kotlin/io/scer/native_pdf_view/NativePDFViewPlugin.kt. This is likely to due to an incorrect `androidPackage:
io.scer.native_pdf_view` or `mainClass` entry in the plugin's pubspec.yaml.

agavrel avatar Jan 20 '23 03:01 agavrel

Use pdfx package instead https://pub.dev/packages/pdfx

Thoxh avatar Mar 09 '23 21:03 Thoxh