最近碰到了这个问题,多次尝试,终于解决了 点击file->project structure->modules->+ 把项目的添加上即可 转载于:https://blog.51cto.com/xiaolanlan/1796565