Hi Moussa,
We’re unable to reproduce the issue.
We tested your sample project on the default “Pixel 2 R 11.0 - API 30” emulator and all works fine. No exceptions are thrown.
How exactly are you running the project? Are you testing this on an emulator or a real hardware device?
Regards,
Mario