'The plugin `advance_pdf_viewer` uses a deprecated version of the Android embedding even latest version added pubsec
Important thing is i have upgraded flutter version in between and warning was shown up (until it was performing nicely)
This is warning message but for that I have performed fllowing things
- updated Manifest with
android:name="flutterEmbedding"
android:value="2" />
- Firstly
flutter clean - then
flutter update - Perform
flutter pub cache repair - Perform
invalidate cache and restart android studio - Perform
deleted .gradle folder - It was not correct but deleted
GeneratedPluginRegistrant.javafor rebuilding plugins file
Still warning persist all above steps was copied from stackoverflow and GitHub
Does it caused by copying plugin from git to my project root directory that may be not correct but i have performed that also.
Solution 1:[1]
I think 3rd command must be flutter upgrade rather than flutter update.
I don't have enough points to comment, so added an answer.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Japsimrans13 |
