android studio 运行按钮为灰色的解决办法之一

sync project with gradle files按钮(如下图)同步一下就好了

3.2的 技术图片

 

3.3同步按钮变成了一只大象+箭头