Foxes are not native to Africa. They are found in North America, Europe, and Asia.
However, a few African canids are often mistakenly called "foxes." The Fennec Fox lives in the Sahara and other parts of North Africa. The Bat-Eared Fox is found in Southern and Eastern Africa, and the Cape Fox lives in Southern Africa. These are distinct animals, not true foxes.
So while true foxes aren't found in Africa, some fox-like canids are.