更新时间:2022-04-25 21:40:03
您需要进入 android 文件夹.然后单击 local.properties 文件.
You need to inside the android folder. And then click on the local.properties file.
它包含这样的内容
sdk.dir=/Users/sunnysaini/Library/Android/sdk
flutter.sdk=/Users/sunnysaini/development/flutter
flutter.buildMode=debug
flutter.versionName=1.0.0
flutter.versionCode=1
问题出在 flutter.sdk 路径上.您需要用 flutter sdk 路径替换此路径.
and the issue is with flutter.sdk path. You need to replace this path with you flutter sdk path.