Police arrest man for attempted robbery