Flutter.io Android License Status Unknown

前端 未结 30 1186
情歌与酒
情歌与酒 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:16

    Follow these simple steps.

    1. go to tools, then SDK manager, then click on android SDK.
    2. click SDK update sites tab.
    3. check the checkbox that states https://..sources to be fetched using https://.
    4. click apply and ok.
    5. Now restart android studio.
    6. go to SDK tools and check the checkbox that states Hide obsolete packages.
    7. wait for about a minute or so for the packages appear.
    8. then select a package called "android SDK tools (obsolete), and press okay.
    9. continue to install the package.
    10. after installation restart android studio and also restart cmd, then run flutter doctor.
    11. it will take a couple of minutes and it should work

提交回复
热议问题