Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
170 views
in Technique[技术] by (71.8m points)

java - fixed Android License Status Unknown.flutter instalation


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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:

  1. Scroll down and Download Command line tools only from this link [https://developer.android.com/studio#downloads]
  2. Put your Downloaded file (tools) in this location C:UsersABCAppDataABCAndroidSdk
  3. close your android studio, and again open android studio. And check update.
  4. Open the command line and past (flutter doctor --android-licenses) ,don’t use parenthesis.
  5. And press ‘y’ for accept
  6. Run flutter doctor you should be good.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...