Before this error occurs I had another issue and solved it from here. It solved my problem but after that I am facing this error i.e Error:JetGradlePlugin$_apply_closure2$_closure4 have anyone faced this issue? If yes it would be very helpful.
*Tried clean and rebuild project but no luck.