This subject highlights a significant aspect of the Android ecosystem: the long tail of software support and the enduring popularity of legacy hardware.
Since the term "gam.apk" might be a typo for "game APK" or a specific file name, I've written a few versions based on the most likely intent: android 8-9-10 gam.apk