I rooted my Moto g5 plus, and after that my camera has stopped working. Whenever I open it, it crashes and show me a message "camera has stopped". Please help me.
Did you root with SuperSU? That always gave me camera problems. Switched to Magisk and haven't had a problem
I switched to the Pixel Experience rom, that fixed my camera issue.