i was trying to get my dependences using pub get, but i keep getting a bunch off errors. And i'm stuck in these error.
I have tried flutter clean, flutter upgrade and flutter doctor
without any issue. Then i tried flutter pub cache repair
witch gave me this error Failed to reactivate 1 package: - intl_utils pub finished with exit code 69
Full error
The plugins `facebook_audience_network, flutter_statusbarcolor_ns, flutter_webview_plugin,
notification_permissions, onesignal_flutter, sms_autofill` use a deprecated version of the
Android embedding. To avoid unexpected runtime failures or future build failures, try to
see if these plugins support the Android V2 embedding. Otherwise, consider removing them
since a future release of Flutter will remove these deprecated APIs. If you are plugin
author, take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.
MY PUBSPEC.YAML
environment:
sdk: '>=2.12.0 <3.0.0'
facebook_audience_network: 1.0.0-nullsafety.0
flutter_statusbarcolor_ns: 0.3.0-nullsafety
flutter_webview_plugin: 0.4.0
notification_permissions: 0.5.0
onesignal_flutter: 3.2.0
sms_autofill: 2.0.1
...
This is for the new flutter update. There is nothing you can do. Either use an other package or ask the package developer to fix the problem. This error is after version 2.5 of the flutter.
That is because of the new flutter updates, but it won't stop you from building or running your code. or you could just switch to another package that can achieve the same task. Until the packages author update to v2 Android embedding
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With