I am using a Arch Linux system so the AndroidStudio installation is curated by the system itself. So I do not know what do you mean about two versions of it, but I provide some further information.
Android Studio 4.2.1
Build #AI-202.76126.96.36.19951085, built on May 10, 2021
Runtime version: 11.0.8+0-b944-P17168821 amd64
VM: OpenJDK 64-Bit Server VM by N/A
GC: G1 Young Generation, G1 Old Generation
Current Desktop: GNOME 40.1.0
Garuda Linux; ID version: rolling
What do you read inside the log files to say that? What's the issue about the build?