Missing Android views in Flutter project?
I was working on a Flutter project and the typical Android related views were not present in the list of View → Tool Windows:
- App Inspection
- Logcat
- Device File Explorer
- Profiler
- Emulator
For some colleagues they were visible for the same project. When I opened different Android / Flutter projects, they were visible for me too. But not for this particular project. Re-installing Android Studio did not help.
Solution: Enable the Android Facet
It turned out that I had to enable the Android Facet for this project:
- Go to File → Project Structure
- Choose Facets
- Press the small + Button at the top
- Select Android from the list
- Confirm your project by clicking the project_name and press OK
This setting is stored locally in the .idea/project_name.iml
. The .idea folder is excluded from version control in our .gitignore
file. That is why re-installing did not help and other users had a different experience for the same project.
Android Studio Arctic Fox | 2020.3.1 Patch 1