how to update dart sdk in android studio code example Example 1: dart update C:\> choco upgrade dart-sdk Example 2: dart update C:\> choco install dart-sdk