Flutter provides a command to update the Android SDK path: Use flutter config --android-sdk <path-to-your-android-sdk-path>