android studio 2022特别慢,特别卡

一、问题描述

android studio 2022 在build中点击clean project、同步(小象图标)、buildCMakeDebug等操作后,特别慢,特别卡,刚开始需要等1分多钟,后来需要等4分多钟,本来一分钟就能编译测试,每次都需要接近半个小时,忍无可忍。

二、解决方案

android studio 2022界面找到File-》setting,打开后如下图所示,

勾选对号,Compile independent modules in parallel (may require larger heap size

Command-line Options增加 --offline

然后点击OK即可

相关推荐
smileNicky1 天前
Lombok @Data 在 IDEA 中运行报错解决方案
java·ide·intellij-idea
好大哥呀1 天前
C++ IDE
开发语言·c++·ide
_李小白1 天前
【Android FrameWork】第四十九天:SystemUI
android
Mr -老鬼1 天前
移动端跨平台适配技术框架:从发展到展望
android·ios·小程序·uni-app
stevenzqzq1 天前
trace和Get thread dump的区别
java·android studio·断点
城东米粉儿1 天前
compose measurePoliy 笔记
android
城东米粉儿1 天前
Compose 延迟列表
android
GoldenPlayer1 天前
SOLID原则-Software Develop
android
GoldenPlayer1 天前
Android文件管理系统
android