Skip to content
Advertisement

Unnecessarily replacing a task that does not exist is not supported

I got the following error:

JavaScript

Advertisement

Answer

Clear the cache and start the app again. This might happen when you recently upgraded gradle. If you are on intellij idea then choose file -> invalidate cache and restart.

If you are using gradle then delete your .gradle folder and run gradle again.

Advertisement