Missing project.gradle in Android View

Jongz Puangput picture Jongz Puangput · Sep 15, 2017 · Viewed 10.5k times · Source

In Android Studio, project.gradle file is not show when in Android View, but is when in Project view

Android View enter image description here

Project View enter image description here

How can I fix this ??

Answer

Ahmed AlAskalany picture Ahmed AlAskalany · May 16, 2019

From the Gradle Tool Window in Android Studio (View > Tool Window > Gradle),

  1. Right click on the the project's Gradle config with (root) next to its name.
  2. Click on Ignore Gradle project,
  3. and right click again then click on Unignore Gradle project.