r/androiddev • u/VariousPizza9624 • 2d ago
A weird screen flickering issue that only occurs when Android Studio's Gradle is running
Hi guys,
For about a year now, I've been experiencing a weird issue. I've tried pretty much every solution I've found online, but still haven't managed to fix it.
Every time I open Android Studio and rebuild a project or perform any task that requires Gradle to run, I notice something strange. If I minimize Android Studio and switch to Chrome, File Explorer, or any other application, my monitor starts flickering (without losing signal).
Sometimes, the flickering gets so bad that Windows Explorer and DWM.exe crash, causing all my open folders and applications to turn black. I have to restart Windows Explorer to get everything back to normal.
What's really strange is that this issue only happens with Android Studio. I haven't experienced it with any other software, not even while playing demanding AAA games or running heavy GPU, CPU, and RAM stress tests. Everything works perfectly fine otherwise.
Has anyone experienced something similar or found a solution?
My PC Specifications:
- CPU: AMD Ryzen 5 5600 (no overclock)
- Motherboard: ASUS PRIME B550M-K (latest available BIOS installed)
- RAM: 32GB (2 × 16GB) DDR4 3200 MT/s
- GPU: ASUS ROG STRIX RX 6700 XT (latest available drivers installed, no overclock)
- Storage: 512GB NVMe SSD (Android Studio is installed on this drive)
- OS: Windows 11 Pro (latest available updates installed)
