简体   繁体   中英

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

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...

在此处输入图像描述 在此处输入图像描述

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!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM