I am using Android Studio Electric Eel | 2022.1.1 Patch 2.
I have noticed that on some occasions, the Run button in Android Studio becomes disabled without any apparent reason. This can be seen in the attached Image A.
This problem persists even after rebuilding the project. However, I have found that I can resolve the issue by closing and reopening Android Studio.
What could be causing this issue with Android Studio?
Usually when this happens, you just have to click the "Sync Project with Gradle Files" button to resolve it.