Java – Why is my runtime configuration disabled in Android Studio?

Why is my runtime configuration disabled in Android Studio?… here is a solution to the problem.

Why is my runtime configuration disabled in Android Studio?

ScreenShot of my page

My app is called QEventShare. There are no compilation errors. Just 5 minutes ago, I was still able to run the application, but now for some reason, I can’t.

If you look at the location of the Run button, you will see that it is not clickable. You will also notice a “? and an X next to my application name (to the left of the Run button).

Why is this happening and how can I fix it?

I’ve quit and restarted Android Studio twice but to no avail.

Solution

I know it’s too late, but it might work for some. As @Gabriele says, go to the combination to the left of the Run button, open it and select the main module of the project. Enabling the Run button again should suffice.

Cheers.

Related Problems and Solutions