Pick up image from library - not funcion in cell

Hello, my program records and visualizes data normally on the PC lauch and on the android cell phone; but when I use lauch on my cell phone, ONLY for recording photos in the gallery, it gives an error (Pick up image from library). Why does it work correctly on PC and error on mobile if I’m using the same firestore?