Leilua was accused of assaulting a 26-year-old woman known to him and smashing her phone in an incident at a home in Sydney's southwestern outskirts on October 3 last year.
One charge of common assault and one court of destroying common property were dropped by consent at Campbelltown Local Court on Thursday.
Without admitting anything, Leilua agreed to abide by a 12-month apprehended violence order barring him from assaulting, stalking or intimidating the woman.
Outside court, the NRL player's lawyer Elias Tabchouri said Leilua and his family were happy police had decided to withdraw the charges.
"Our position was this was a case that could not be sustained and clearly the police have seen that," Mr Tabchouri told reporters.
"(Leilua) wants to rebuild his life with his family and rebuild his career."
Mr Tabchouri said he hoped the resolution of the case would allow his client to play again.
The 26-year-old player had been forbidden from representing his team on the field under the NRL's no-fault-stand-down policy since the charges were laid.
Leilua missed representing Samoa at the World Cup in October and November after impressing for North Queensland in 2022 following a mid-season switch from the Tigers.
In a statement made after the charges were dropped, the Cowboys said it would work with the NRL with regards to Leilua's status with the team.
1800 RESPECT (1800 737 732)
Lifeline 13 11 14