https://blog.csdn.net/vivian0239/article/details/82255656 这篇文章的做法试过,不能解决我的问题。
我的解决:在左下方构建和运行的选项中,选择可以运行的那个(不清楚为什么要选特定的)