SimpleGrid error in Mission Planner Android

An error pop-up window appeared when I tried to use the SimpleGrid function after compiling the Android version of MP with VS22.
At the same time, the same error occurred in the official version of mp downloaded from github.as shown in the figure below: