On the Pixel I’d recommend the astrophotography mode which exposes for 4 to 5 minutes, it works very well.
You need to use the night mode in the camera and then put the phone on a tripod or lean it against something so it won’t move, after a few seconds the shutter button will turn into a stars symbol. Then press the shutter button and it will tell you how long you should leave the phone there.
On the Pixel I’d recommend the astrophotography mode which exposes for 4 to 5 minutes, it works very well.
You need to use the night mode in the camera and then put the phone on a tripod or lean it against something so it won’t move, after a few seconds the shutter button will turn into a stars symbol. Then press the shutter button and it will tell you how long you should leave the phone there.