Shrinath Joshi
Shrinath Joshi

Reputation: 79

Received invalid response from the daemon: '...' is a result of a type we don't have a strategy to handle

I am getting this error in Android Studio 2.2.3.

this is the message:-

Gradle '...' project refresh failed

Error:Received invalid response from the daemon: 'org. gradle .launcher. daemon. protocol. Forward Input @ 69 ac 64' is a result of a type we don't have a strategy to handle. Earlier, 'Build{id=4....1, current Dir=C:\Users\Hp\A}' request was sent to the daemon. Diagnostics:
No diagnostics available.

Upvotes: 2

Views: 1407

Answers (2)

Sathiya
Sathiya

Reputation: 53

Deleting the file 'registry.bin.lock' under the location '.gradle\daemon\2.14.1\' resolved the issue for me without having to have restart intelliJ or system.

I didn't want to delete the whole .gradle folder since it takes more time to download all required the gradle files for my big project :-)

Upvotes: 3

Arslan Maqbool
Arslan Maqbool

Reputation: 529

Just delete the .gradle folder from your project repository and rebuild the project again. Hopefully your problem is resolved. If not completely close the project and open it again. Your problem is resolved.

Upvotes: 1

Related Questions