Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Gradle not Building Project

enter image description here

I was using my android Studio very well. I don't know what happened and now I am getting only Building "xxxx" Gradle project info whenever I want to create my new project. I am unable to open any new project. Please help. I don't have even 10 reputations to upload the screenshot.

I think my Gradle is not working. How can I reset or restart my Gradle ?

like image 786
Prasoon Pandey Avatar asked Jul 24 '15 07:07

Prasoon Pandey


People also ask

Why is my Gradle build failing?

If gradle --version works, but all of your builds fail with the same error, it is possible there is a problem with one of your Gradle build configuration scripts. You can verify the problem is with Gradle scripts by running gradle help which executes configuration scripts, but no Gradle tasks.

How do I fix Gradle issues?

For this, you have to connect your PC to the internet and you have to open your Android studio. After opening your project click on the Sync Project with Gradle files option. This will automatically download the new Gradle files and will fix the issue which is caused by the Gradle files.

Why is my Gradle not syncing?

It could be that you are using gradle in offline mode. To uncheck it go to File > Settings > Gradle , uncheck the Offline Work checkbox, and click Apply Make sure you have internet connection and sync the project again.


1 Answers

I think you have updated your gradle build tool. Go to file>setting>build,execution deployment> gradle> check your gradle tool version

like image 88
Ashutosh Singh Avatar answered Sep 27 '22 22:09

Ashutosh Singh