Jason Hitchings
Jason Hitchings

Reputation: 677

AndroidStudio gradle error: "Error:null value in entry: resOutputDir=null"

I had the build/make error

Error:null value in entry: resOutputDir=null

when building my project in AdroidStudio

Upvotes: 8

Views: 8471

Answers (4)

Carson Holzheimer
Carson Holzheimer

Reputation: 2963

In my case I had a typo in the variable. domain instead of Domain.

Upvotes: 1

Usman Ali
Usman Ali

Reputation: 433

I stuck in the problem like this. What I done is; Delete the .Gradle Folder From the Project File in the Project location.

Then Built and Clean the Project. I searched a lot on Google but the Solution I got from a blog is...

Delete .Gradle Folder -> Clean->Built

Upvotes: 1

Desmond Bennett
Desmond Bennett

Reputation: 21

I have solved this and other Gradle build errors by executing the menu sequence: "Build > Clean Project".

Upvotes: 2

Jason Hitchings
Jason Hitchings

Reputation: 677

The solution was to simply delete the .gradle folder in the root directory. (backup to make sure you don't blow something up).

answer found here: https://discuss.gradle.org/t/null-value-in-entry-dependencycachedir-null/19191/3

Upvotes: 14

Related Questions