You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some project I can choose open in AS and in some other I can't... any idea why ? It's a bit annoying to not be able to do it when you develop native code ^^
There are many different places this menu can show up. It works fine for me in all of them.
It is sensitive to IntelliJ file layout. If it works in some projects but not others then there must be some difference in files. The Flutter plugin assumes (out of necessity) that the project root is the same as the directory created by flutter create and that the android or .android directories are immediate children of it. It also looks for the project file (ending with .iml). If that is missing or relocated it might cause a failure. The only way we could debug the actual problem is by examining a sample project that is known to fail. If you can create one I'd be glad to look into it.
I'll see what I can do. I have two flutter projects, one of which displays this behavior. I will try to recreate the issue with a minimum of complications.
Activity
pq commentedon Jan 16, 2019
/cc @stevemessick
sbeitzel commentedon Nov 2, 2019
I'm seeing this as well. I am using IDEA Ultimate 2019.2, Android Studio 3.5.1, Flutter plugin version 41.0.4.
stevemessick commentedon Nov 5, 2019
There are many different places this menu can show up. It works fine for me in all of them.
It is sensitive to IntelliJ file layout. If it works in some projects but not others then there must be some difference in files. The Flutter plugin assumes (out of necessity) that the project root is the same as the directory created by
flutter createand that theandroidor.androiddirectories are immediate children of it. It also looks for the project file (ending with.iml). If that is missing or relocated it might cause a failure. The only way we could debug the actual problem is by examining a sample project that is known to fail. If you can create one I'd be glad to look into it.sbeitzel commentedon Nov 7, 2019
I'll see what I can do. I have two flutter projects, one of which displays this behavior. I will try to recreate the issue with a minimum of complications.