Why didn't the China utilize gunpowder?


China had invented a way to synthesize and create gunpowder which would have given them a severe warfare advantage if they had found a way to utilize and create cannons. Europe saw the potential that gunpowder had and developed cannons, a way to launch a solid projectile across the battlefield quickly with little effort, ushering more technological developments such as explosives and muskets that would later come. Why didn't China further develop ways to utilize and use gunpowder in warfare?