Flutter Run Failure [INSTALL_FAILED_OLDER_SDK] Requires newer sdk version #29(current version is 28)

preview_player
Показать описание
rror: ADB exited with exit code 1
Performing Streamed Install
Requires newer sdk version #29 (current version is #28)]
Requires newer sdk version #29 (current version is #28)]
Error launching application on SM A127F.

The problem is due to android SDK version mismatch between your app and the target device (i.e. real phone or emulator).

From your case it seems like your app is built with SDK version 31 and you are trying to run it on a device that supports version 30 resulting in the issue. To fix this either downgrade your app's SDK need to 30 or run it on a newer device that supports SDK 31.
Рекомендации по теме