First of all,
I\'m pretty much aware that a lot of questions on this error had been posted already here, and none of them seems to be having a proper solution especia
I put a @Delete annotation on a method with Long parameters :
@Delete
fun deleteRelationShip(userId: Long, friendId: Long)
--debug build can be of help i most cases. In this case it said that a long couldn't be convert in Element
Then it becomes
@Delete
fun deleteRelationShip(relationShip: RelationShip)