As @j.f. pointed out in a comment, the errors were because I was testing on a Pixel 8 emulator. I switched to a different android (a Nexus 6 to be specific, since that was just what I'd had installed), and the errors are gone.