Swittmann
Swittmann

Reputation: 71

Android studio not building gradle

Every time I want to debug my application I get the error:

Error:null value in entry: fakeOutputDirectory=null

in Android Studio in "messages". Any suggestions how I can fix this error? Thanks in advance!

Upvotes: 0

Views: 2234

Answers (2)

Tara
Tara

Reputation: 700

1 Delete your .gradle file

2 Rebuild your project

3 Clean your project

4 Now install APK.

if the issue is still disabled instant run

goto File → Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run.

Upvotes: 2

Joseph Mathew
Joseph Mathew

Reputation: 1419

1)Remove .gradle directory in the root project directory.
2)Rebuild app

Upvotes: 0

Related Questions