file->settings->Build…把自动运行项目勾选起来 点击ok按钮。 然后Alt+Shift+Ctrl+/->Registry 勾选“compiler.automake.allow.when.app.running”。 相关文章: