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

cannot find symbol pt.tribeiro.flutter_plugin_pdf_viewer.FlutterPluginPdfViewerPlugin.registerWith(shimPluginRegistry.registrarFor("pt.tribeiro.flutter_plugin_pdf_viewer.FlutterPluginPdfViewerPlugin")); #33

Open
bipindubey-technoark opened this issue Apr 5, 2021 · 1 comment

Comments

@bipindubey-technoark
Copy link

I am getting following error when i am running my flutter app

Note: C:\src\flutter\.pub-cache\hosted\pub.flutter-io.cn\advance_pdf_viewer-1.2.1+2\android\src\main\java\pt\tribeiro\flutter_plugin_pdf_viewer\FlutterPluginPdfViewerPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.flutter-io.cn\google_maps_flutter-1.1.1\android\src\main\java\io\flutter\plugins\googlemaps\Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
E:\linkinvestor-flutterapp-v2\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:18: error: cannot find symbol
      pt.tribeiro.flutter_plugin_pdf_viewer.FlutterPluginPdfViewerPlugin.registerWith(shimPluginRegistry.registrarFor("pt.tribeiro.flutter_plugin_pdf_viewer.FlutterPluginPdfViewerPlugin"));
                                           ^
  symbol:   class FlutterPluginPdfViewerPlugin
  location: package pt.tribeiro.flutter_plugin_pdf_viewer
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 42s
Exception: Gradle task assembleDebug failed with exit code 1

I have tried flutter clean and flutter pub repair but nothing worked.

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

1 participant