Run `flutter doctor --android-licenses` to accept the SDK licenses. code example Example: flutter accept license flutter doctor --android-licenses