How can a valid (Project) build.gradle not show in 'Android' view?

For me this worked fine.

      1. Close the project  using Close project option.
      2. Import the project newly from android studio.

I eventually circumvented this bug by simply renaming the project folder!

Re-creating the problem has proved impossible, but I strongly suspect a synchronisation problem in an obscure little file called project.dat.

Please refer to the answer I gave to the aforementioned question here!


You can delete .gradle and .idea folders in your project manually and reload your project, it helped me.