Run Button is Disabled in Android Studio

前端 未结 18 919
无人及你
无人及你 2020-12-07 15:05

I can\'t click the run button. Does anyone know how to fix it?

\"Disabled

相关标签:
18条回答
  • 2020-12-07 15:45

    The above answer didn't work for me, instead closing the project and restaring the AS IDE worked for me.

    0 讨论(0)
  • 2020-12-07 15:45

    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.

    0 讨论(0)
  • 2020-12-07 15:45

    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

    0 讨论(0)
  • 2020-12-07 15:45

    I just clicked on the debug icon and it started working.

    0 讨论(0)
  • 2020-12-07 15:46

    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!

    0 讨论(0)
  • 2020-12-07 15:48

    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.

    0 讨论(0)
提交回复
热议问题