在studio界面的run下面有一个框 在里面选app文件夹 之后再运行就好了 转载自:https://blog.csdn.net/CrhEH/article/details/78358004 感谢博主