Windows Defender 可能会影响您的构建性能
Windows Defender might be impacting your build performance
在我将 PyCharm IDE 从 19.1.2 更新到 19.2.0 之后。我收到以下警告:
"Windows Defender might be impacting your build performance. PyCharm checked
thefollowing directories:
C:\Workspace\Projects6_UniversityTwitter
C:\Users\Burak\.PyCharmCE2019.2\system
C:\Users\Burak\.gradle
您认为它是否安全、有必要并真正提高性能?
最近更新后,我遇到了来自同一家公司的 Android Studio 的相同问题。所以你可以做的是你会得到导致这个错误的目录。
像
然后您需要转到 Windows Defender 并将这些文件夹添加到 Windows Defender 或您正在使用的防病毒软件中排除。
您需要在 Windows 安全排除列表中排除这些目录。
- 在 windows 搜索栏
中输入 Windows 安全性
- 单击病毒和威胁防护
- 在病毒和威胁防护设置 header 下,单击管理设置
- 在排除项 header 下,单击添加或删除排除项
- 单击添加排除项
- Select 类型 文件夹
- 进入目录
- 你完成了
是的,它是安全的、必要的并且确实提高了性能,因为 Windows defender 默认启用了 real-time 扫描。
读这个:Minimize the impact of antivirus software on build speed.
如User guide for Android Studio所述:
Optimize Android Studio performance on Windows
Android Studio performance on Windows can be impacted by a variety of
factors. This section describes how you can optimize Android Studio
settings to get the best possible performance on Windows.
Minimize the impact of antivirus software on build speed
Some antivirus software can interfere with the Android Studio build
process, causing builds to run dramatically slower. When you run a
build in Android Studio, Gradle compiles your app’s resources and
source code and then packages the compiled resources together in an
APK. During this process, many files are created on your computer. If
your antivirus software has real-time scanning enabled, the antivirus
can force the build process to halt each time a file is created while
the antivirus scans that file.
To avoid this issue, you can exclude certain directories from
real-time scanning in your antivirus software.
我做了上面的步骤,给防御者添加了异常,但是WebStorm应用程序中的消息不想消失。
运行 作为管理员的 WebStorm 应用程序帮助了我。
在我将 PyCharm IDE 从 19.1.2 更新到 19.2.0 之后。我收到以下警告:
"Windows Defender might be impacting your build performance. PyCharm checked
thefollowing directories:
C:\Workspace\Projects6_UniversityTwitter
C:\Users\Burak\.PyCharmCE2019.2\system
C:\Users\Burak\.gradle
您认为它是否安全、有必要并真正提高性能?
最近更新后,我遇到了来自同一家公司的 Android Studio 的相同问题。所以你可以做的是你会得到导致这个错误的目录。
像
然后您需要转到 Windows Defender 并将这些文件夹添加到 Windows Defender 或您正在使用的防病毒软件中排除。
您需要在 Windows 安全排除列表中排除这些目录。
- 在 windows 搜索栏 中输入 Windows 安全性
- 单击病毒和威胁防护
- 在病毒和威胁防护设置 header 下,单击管理设置
- 在排除项 header 下,单击添加或删除排除项
- 单击添加排除项
- Select 类型 文件夹
- 进入目录
- 你完成了
是的,它是安全的、必要的并且确实提高了性能,因为 Windows defender 默认启用了 real-time 扫描。 读这个:Minimize the impact of antivirus software on build speed.
如User guide for Android Studio所述:
Optimize Android Studio performance on Windows
Android Studio performance on Windows can be impacted by a variety of factors. This section describes how you can optimize Android Studio settings to get the best possible performance on Windows.
Minimize the impact of antivirus software on build speed
Some antivirus software can interfere with the Android Studio build process, causing builds to run dramatically slower. When you run a build in Android Studio, Gradle compiles your app’s resources and source code and then packages the compiled resources together in an APK. During this process, many files are created on your computer. If your antivirus software has real-time scanning enabled, the antivirus can force the build process to halt each time a file is created while the antivirus scans that file.
To avoid this issue, you can exclude certain directories from real-time scanning in your antivirus software.
我做了上面的步骤,给防御者添加了异常,但是WebStorm应用程序中的消息不想消失。
运行 作为管理员的 WebStorm 应用程序帮助了我。