Lore
Lore

Reputation: 1938

No incremental compile snapshot data available gradle error

I am launching a Gradle task and it gives me an error like No incremental compile snapshot data available. I've searched online and I can't find a sufficient description for this. Do you know what exactly raises this error?

Upvotes: 1

Views: 2946

Answers (3)

Prashant
Prashant

Reputation: 11

My project is using gradle 4.10 version. However, gradlew.bat clean build --refresh-dependencies solved this problem for me.

Upvotes: 1

mani
mani

Reputation: 799

By Deleting the .gradle folder of Android Project.

Then do gradle sync and build apk.

It will solve this problem

Upvotes: 0

Madis Pärn
Madis Pärn

Reputation: 106

What gradle version are you using, found an old bug in v4.10: https://github.com/gradle/gradle/issues/6612

Upvotes: 3

Related Questions