Android Studio 运行按钮灰色解决方法
今天新建项目的时候突然发现编译后运行按钮为灰色。
解决方案:
第一步:点击图中的Add Configuration,出来如下界面
Android Studio 运行按钮灰色解决方法
第二步:点+号,并选择Android App选项 出来下图所示界面
Android Studio 运行按钮灰色解决方法
第三步:在Module 中下拉框中选择app
如果在Module 下拉框没有app这个选项
Android Studio 运行按钮灰色解决方法
点击搜索框,输入sync,从搜索结果中选择如下项:
Android Studio 运行按钮灰色解决方法
点击运行 然后就可以在Module下拉框中发现app这个选项了。
第四步:Android Studio 运行按钮灰色解决方法
点击Add Configuratio 选择app ,运行按钮就可以用啦。

相关文章:

  • 2022-01-05
  • 2021-09-23
  • 2021-12-05
  • 2021-10-07
  • 2021-07-24
  • 2021-05-04
  • 2021-12-07
猜你喜欢
  • 2021-08-04
  • 2022-12-23
  • 2021-07-04
  • 2021-05-22
  • 2021-12-15
  • 2021-07-05
相关资源
相似解决方案