android-studio - 有没有办法在 Android Studio 中禁用 "Updating Symbols..."进程?

标签 android-studio android-ndk

我有一个非常大的 C++ ndk gradle 项目,我要导入到 Android Studio 中。每次我导入或更改构建变体时,Android Studio 都会"update the symbols"发布版本最多可能需要 20 分钟,调试版本可能需要大约 5 分钟。它还使用了大量内存和 CPU(我需要将默认的 AS java 内存设置增加到“更新符号...”阶段的默认值的 4 倍才能完成。)

在命令行(不带 AS)上运行“./gradlew installRelease”似乎不需要这一步。那么“更新符号......”实际上做了什么 - 更重要的是 - 有什么方法可以禁用它。

最佳答案

不幸的是,目前无法直接禁用此功能,但您可以通过从 Android Studio 项目 View 中删除标题来解决此问题。

关于android-studio - 有没有办法在 Android Studio 中禁用 "Updating Symbols..."进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42419452/

相关文章:

android - 如何在Android布局xml文件中获取小部件的完整类名?

android - 未设置 "ArrayAdapter"

c++ - NDK 调试 - 断点不会在 Android Studio 中命中

android - "undefined reference to pthread_atfork"当我尝试将 libpcsclite 移植到 Android 时

java - 如何找到NDK的路径?

android - 在整个项目中用 butterknife 注释替换 findviewbyid 的便捷方法?

Android Studio - 删除模块 - IncorrectOperationException : Must not change document outside command or undo-transparent action

java - 错误: cannot find symbol class Compilation

android - 为 Android NDK R10e 编译和使用 boost

linux - 构建Shadowsocks android gituhub代码时出错