Flutter.io Android License Status Unknown

前端 未结 30 1193
情歌与酒
情歌与酒 2020-11-27 12:29

[!] Android toolchain - develop for Android devices (Android SDK 27.0.3) >>• Android SDK a ..\\Android\\sdk • Android NDK location not configured (optiona

30条回答
  •  情书的邮戳
    2020-11-27 13:13

    The right solution would be if you have android studio installed then

    1. open SDK manager
    2. under SDK tools uncheck hide obsolete packages at the bottom
    3. then you should see an option called Android SDK Tools (Obsolete)

    1. check it and apply and let the studio download the package
    2. once done run the command flutter doctor and it should now prompt you to run flutter doctor --android-licenses once you run the license command accept all licenses by hitting y and it should solve the problem

提交回复
热议问题