Why is Project's build.gradle not showing up in Android mode?
Just like the picture below, the .gradle file in the project root directory can also be displayed in Android mode. enter image description here
Your using project
structure better to use android
structure view
secound thing is if you want to use project structure then project->build.gradle
is your project level gradle file
for Ex.
AndroidWeather/build.gradle
This can happen when the caches get messed up. Try this:
Note, to delete the folder:
cd /path/to/project
rm -rf .idea
Now you should see the project-level build.gradle in the Android scope.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.