I can\'t click the run button. Does anyone know how to fix it?
The above answer didn't work for me, instead closing the project and restaring the AS IDE worked for me.
If you have changed jdk version then go to File->Project Structure->Select SDK Location from left bar->update JDK Location in editbar in right bar.
If you are trying to run the Flutter Project in Android Studio, and the run button is disabled then here is the solution
Click on add configuration
and select Flutter and then select the main class in dataentrypoint
I just clicked on the debug icon and it started working.
I'm using Linux where I had a symlink in my home folder pointing to a folder containing the Android Studio projects. Loading a project using the symlink failed, loading a project from the folder where the symlink is pointing to worked!
When creating the Run Configuration
, the dropdown for Module had only <no module>
for me. Invoking menu File -> Sync Project with Gradle Files
added app
to the dropdown for Module. Then the Run button became enabled.