-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid item 'Flutter for Android' in the dependencies list #70759
Comments
This is not an error it is just a warning caused by a new IntelliJ/Android Studio upgrade where they changed the path of the plugins and Flutter can't find/detect them. You can still using Flutter without problems.
Those are red because you opened Android related files using an IDE that does not have an Android plugin, we recommend Android Studio to open such files to get auto completion and some more benefits. This is not an problem as well.
The crash related to
Please open a specific issue related to this issue. Closing this because this single issue talks about many issues and some of them are already reported, opened or they are invalid. |
This is Android Studio. I'm aware that these plugins have had these issues reported because I've been through all of the proposed solutions and none of them worked for me. The crux of the issue is this: I would happily open a specific issue for this, but I'm not quite sure how to phrase it or what other information to provide? |
I suggest you to focus in describing how to reproduce the issue and talk about one single issue. I just closing this because it is too confuse and talks about so many issue at the same time. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I've been working with Flutter for a while and have made a number of projects with no problems, but I just started trying to create a new one and have run into what seems to be an impassable problem.
There are a number of things happening as far as I can tell, but I think this is at the core of it:
In Android Studio, in project structure (cmd+;), I have this in the 'Problems' tab:
Module a_test_app_android: invalid item 'Flutter for Android' in the dependencies list
I first encountered this in the live project that I'm trying to create, but have since tried to do it with a completely blank project and it's still there.
Note: this test project actually will still run! However, in my live project, I'm encountering some other problems that I'm fairly sure are caused by this and are the reason I realised it was broken in the first place, lots of MissingPluginExceptions and these do crash it:
etc.
Investigating this led to me to
GeneratedPluginRegistrant.java
, which looks like this in my test project:And this led me to
I have tried:
None of these change anything; I always have this missing Flutter for Android issue in project structure:
A project that I created before this issue started happening, with all the same packages and virtually the same implementation (new project is a variant of the old project) is still working fine.
flutter doctor -v
You'll notice that in my doctor log it also says that the flutter and dart plugins are not installed for Android Studio (don't worry about IDEA, I don't use it for flutter), but they definitely are, and I wasn't receiving this warning until recently either, so I feel it may be related, but I'm not really sure.
I'm on Android Studio 4.1.1, on OSX Mojave 10.14.6
The text was updated successfully, but these errors were encountered: