Run Button is Disabled in Android Studio

前端 未结 18 854
无人及你
无人及你 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:58

    You have to reconfigure the FlutterSDK path in Android Studio: Go to Setting -> Language & Frameworks -> Flutter and set the path to Flutter SDK

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

    If your IDE is in power save mode, then the run button etc. are also disabled.

    You can verify this via the file -> power save mode, make sure it is disabled.

    0 讨论(0)
  • 2020-12-07 16:00

    for flutter project, if the run button is disabled then you have to

    tools>> flutter>> flutter packages get >>enter your flutter sdk path >>finish

    This should solve your problem...

    0 讨论(0)
  • 2020-12-07 16:00

    It was quite silly for me, I just opened the Run > Run Configurations window everything seemed to be fine there, I didn't change anything, when I closed the window the button was enabled.

    0 讨论(0)
  • 2020-12-07 16:02

    My solution was to go to that multiselect button, then "Edit Configurations" -> Go to "+" and select the module (in this case it would be an app if you do not have a multiproject -> then apply and OK

    0 讨论(0)
  • 2020-12-07 16:04

    Above answer didn't work for me, just do click File -> Invalidate/cache -> Invalidate and Restart.

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