The only GCam versions working on Nokia 2.1 are GCam 4.2 and below (also because the device has armv7a app support).
From GCam V5 , they dropped support for armv7a devices.
You might give Google Camera Go a try , its not complete yet but the photos from this app are a bit better than HMD camera (installed one).