Like the rest of the world, the continent has seen public discontent growing even as wealth has improved.