how to fix the error: "invalid item 'Flutter for Android' in the dependencies list"

3,287

Simply remove the Module that has the error. somehow IntelliJ Added that as a module but that module shouldn't be there. click that 'sign_in_flutter_android' module and click the little minus button above

Share:
3,287
littleAnt
Author by

littleAnt

Currently, I'm studying Software Engineer at FPT University. Please contact me at [email protected]

Updated on December 27, 2022

Comments

  • littleAnt
    littleAnt over 1 year

    I am using:

    • IntelliJ IDEA 2020.1.2, build #IU-201.7846.76
    • Flutter Plugin, version 53.0.1
    • Dart plugin, version 201.7846.93

    I created a project with the command flutter create --androidx <name_project> by the terminal of above ide.
    When I build or run the project I met problems with dependencies of Flutter or something else...

    enter image description here enter image description here

    But I still not understand the problem and what caused that after I tried my best for researching on the internet. Although I run flutter doctor command and everything is "Ok" but still an error. Many thanks for the helping!

  • littleAnt
    littleAnt about 3 years
    Well, that worked for me. Thank you very much!
  • Ojonugwa Jude Ochalifu
    Ojonugwa Jude Ochalifu over 2 years
    This only works until the next build. It will be right back in no time.