The suspect, whose name has not been released, was arrested shortly after 7 a.m. after the attack in the area of West MacArthur Boulevard and Broadway, Oakland police wrote on Twitter.
Police did not say what injuries the victim suffered. More details about the case were not immediately available.