搭建好了 flutter 環境,也配置好了 xcode 和 android studio,用 iPhone 跑 flutter app沒什么問題,接了 android 機就報錯,解決提醒如下:
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
打開終端,執行
cd ~/Library/Android/sdk/tools/bin
./sdkmanager --licenses
一路 y就行了