android studio 右上角app 出现红叉

android studio出现红叉,报错为: run configuration app is not supported in the current project.Cannot obtain the application ID.
上网搜索解决方案没有找到。

1.检查下gradle 同步是否成功
2.检查下打开的工程是否是完整工程,工程结构是否完整