The court did not give a reason for throwing the charges out.
The Maldives has seen a rise in child sex abuse cases, with more than 400 cases reported last year.
The punishment for sexually abusing a child is up to 25 years in prison.