The Odum of Ala Igbo
Hail Biafra!
the japanese didn't and they kept them out. organization is key, guns back then were not that better than swords and spears.
The Japanese also outlawed Christianity... in addition the Japanese gained the domestic ability to make guns but they gave it up as "European".
Most African states couldn't make guns/ammunition save a few like Samori Toure's Toucouleur Empire