The shooting happened at about 12:10 p.m. near 66th Avenue and International Boulevard. Oakland police Officer Holly Joshi said the victim was shot multiple times but is expected to survive.
Joshi said witnesses helped officers identify a male suspect who was arrested and was being questioned by investigators this afternoon. It was not immediately clear whether he was the shooter.
Police are also seeking a second suspect in the case.
The shooting happened near a campus shared by two middle schools, Roots International Academy and Coliseum Prep Academy, and two elementary schools, Futures Elementary and Communities United Elementary.
School district spokesman Troy Flint said the shooting prompted an hour-long campus lockdown for all the schools.
He said the victim of the shooting was not enrolled in the Oakland Unified School District.