If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location. You may also want to add it to your PATH environment variable. 解决方法如下,打开Android Studio->点击右下角的Configure->点击SDK Manager,如下图 然后会弹出相应SDK管理界面,如下图: 找到Android S...
flutter config --android-sdk $HOME/Library/Android/sdk 参考链接: https://github.com/flutter/flutter/issues/13078