Well, many African kingdoms were surrounded by terrains, which make them undesirable conquests foe European power such as Romans.
Beside that, many African Kingdoms located near the region that was rich in gold which contributed vastly to their wealth
hope this helps