As per the error log, I guess it's self-explanatory that you need to try running:
flutter doctor --android-licenses
which should prompt you to accept licenses, just type y
and press enter.
Update:
Well, I actually didn't notice that you already try running this command, but then it seems you need to set up or install/update the Android sdk with the required configurations.
Update #2:
- Scroll down and Download Command line tools only from this link [https://developer.android.com/studio#downloads]
- Put your Downloaded file (tools) in this location C:UsersABCAppDataABCAndroidSdk
- close your android studio, and again open android studio. And check update.
- Open the command line and past (flutter doctor --android-licenses) ,don’t use parenthesis.
- And press ‘y’ for accept
- Run flutter doctor you should be good.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…