Error 908: Write_External_Storage Permission is denied

Some devices like Xiaomi, Realme, Redme, etc Show the error. The android version is 11 and 12. How to solve it?

But Permission was already granted in the phone setting but an error showed.

Error 908 write external storage Permission.


It is a bug
A workaround is mentioned in this thread


Dear all after deep search i found extention can solve the error 908
(172) Kodular API Level 30 | Target SDK version 30 | Android 11 - YouTube