'This app is using a deprecated version of the Android embedding

I am getting the following error.

This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures-, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
The plugin `audio_session` requires your app to be migrated to the Android embedding v2. Follow the steps on https://flutter.dev/go/android-project-migration and re-run this command.

The app is already using Android embedding and I am using the Flutter 2.23 version. I checked this also. https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

I am also not using the audio_session plugin and do not have any clue, which library is using it. Anybody can help?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source