Although the waters west of the Andes are slightly more alkaline than the Amazon area east of the Andes, the pH there is still only around 7, and (not liquid rock) like the waters of the rift, The pH Africans prefer at about 8, (is 100 times more basic). If your tap water comes close to inbetween, it might work, and although Andinoacara from that area, are loners (hardly ever sharing territory with other cichlids), they may not even recogonize certain Africans as other cichlids.
If you do experiiment, let us know how it works out good (or bad) over time.
I personally would not keep them together in the same tank, but I'm anal about strict biotopes, yet know, many other aquarists could care less about geographical correctness.