1

I imported my Eclipse project to Android Studio. Import succeeded except that root project folder in not shown in the Project tab; only nested modules are visible.

No project root folder

How do I make project's root folder appear on top of modules?

P.S. I looked into android studio new project missing folders but the solution doesn't work for me.

Community
  • 1
  • 1
Alex Dmitriev
  • 3,664
  • 3
  • 29
  • 35
  • May sound stupid but have you tried shutting it down and reopening it again? Whats your underlying directory structure like? Are each of these modules located underneath your overall project directory? – StuStirling Jul 11 '14 at 21:45
  • Sadly reopening doesn't help. Yes, there is a project root directory, and all of these modules are right underneath this directory. – Alex Dmitriev Jul 11 '14 at 21:51
  • The modules are appearing as thought they are referenced as a dependency rather than physically being under the project root. I'm sorry, I'm stumped – StuStirling Jul 12 '14 at 11:44
  • I'm stumped too :) Thanks for help anyways. – Alex Dmitriev Jul 13 '14 at 16:55

1 Answers1

1

The problem was because the import wizard didn't create an .iml file for the root project module.

I have solved this by closing the project then importing it again by double clicking on the project's folder (not on build.gradle). So it created this .iml file and now is displaying the root folder in its place.

P.S. I did reimport with Android Studio 0.8.3, maybe they have fixed something.

Alex Dmitriev
  • 3,664
  • 3
  • 29
  • 35