I have the same version, but this didn't happen with me, maybe it's a bug or problem with the IDE on your system, However, I updated to version 2024.3.2 and use AGP version 8.10.0, and I suggest that you do that