For some reason in the IDE, the run icon that normally allows you to run a project may be dimmed and disabled.
Several causes come to mind.
One is when cooperation with Gradle is impossible.
The execution icon becomes alive by performing the following operation from the IDE menu.
Select File→Sync Project with Gradle Files