Flutter : error: package io.flutter.embedding.engine.plugins does not exist
The error you've encountered means that you either need to migrate to AndroidX or downgrade to the plugin versions that are compatible with versions before AndroidX.
Check the following issues related to migration to AndroidX:
- https://github.com/flutter/flutter/issues/27106
- https://github.com/flutter/flutter/issues/27146
- https://github.com/flutter/flutter/issues/27128
Check this out:
Breaking change. Migrate from the deprecated original Android SupportLibrary to AndroidX. This shouldn't result in any functional changes,but it requires any Android apps using this plugin to alsomigrate ifthey're using the original support library.