简体   繁体   中英

Android Studio: How to update Dart SDK constraints?

The screenshot shows a way to do that:

在此处输入图像描述

But even after clicking it multiple times, restarting Android Studio, I am not able to change it. How can I change it?

Open pubspec.yaml file and change it.

environment:
  sdk: ">=2.2.2 <3.0.0"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM