If all these solutions fail, you can consider freeing some storage space on the Android. When phones are low on storage, they start lagging, their performance is hampered, and some apps can malfunction.
When the Camera app crashes or closes absurdly, you might need to clear some space in the device.
- Head to Settings > Storage
- Tap on Internal storage and remove some unwanted files to free up some space