Officers were called to Murrayburn Park around 4:55pm on Wednesday 15th of August following reports of a disturbance.
A 22-year-old man is due to appear at Edinburgh Sheriff Court on Thursday of August 16.
Inspector Scott Richardson of Wester Hailes Police Station said: “Further enquiries are being carried out and increased patrols will be conducted in the area.
“We would like to thank members of the public who have come forward and encourage anyone else who may have seen anything to get in touch.
“Anyone with information to help with ongoing inquiries should contact Police Scotland on 101 quoting incident 2624 of Wednesday 15th of August, or Crimestoppers anonymously on 0800 555 111.”