-1

When I want to generate my application in android studio it makes a mistake:

Error:null value in entry: destinationDir=null

It was right yesterday, but it has problem today. I also Clean and Rebuild my project but doesn't work.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
REZA
  • 73
  • 1
  • 12

3 Answers3

10

I also face this sort of issue.With help of the Error:null value in entry: incrementalFolder=null issue is solved.

Just remove the .gradle directory in the root project directory

Ghimire
  • 948
  • 1
  • 9
  • 28
1

I've reinstalled Android studio and Gradle and copied my project into new project and it's solved.

REZA
  • 73
  • 1
  • 12
1

Ghimire's answer is right, see this SO post and the referenced gradle forums post.

.gradle is a hidden folder, so you'll have to

$ ls -a

or, if you want them to show up in Finder

$ defaults write com.apple.Finder AppleShowAllFiles true
$ killall Finder
robotsquidward
  • 163
  • 2
  • 16