1.
2。在Environment Variables增加一键值对
OS_ACTIVITY_MODE = disable
转自:https://blog.csdn.net/HelloWorld_1986/article/details/52690753