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即可

相关推荐
Android打工仔1 小时前
Kotlin 协程源码解析(五):BaseContinuationImpl.resumeWith() —— Continuation 链是如何被展开的?
android·kotlin
存在morning2 小时前
【PySpark 学习笔记 三】DataFrame API 入门
android·java·数据库
星羽XingYu2 小时前
esp32 vscode clangd 无法索引库函数解决方案
ide·vscode·编辑器
YSoup2 小时前
2026 安卓面试助手APP(安卓八股、题库)
android·面试·职场和发展
xcyxiner2 小时前
flutter 运行到模拟器上
android·前端·flutter
Android-Flutter2 小时前
android Glide 源码流程分析
android·kotlin
Dontla2 小时前
VSCode Python扩展自动加载.env环境变量机制(Python插件)python.terminal.useEnvFile
ide·vscode·python
Android-Flutter3 小时前
android Glide 使用详解
android·kotlin
恋猫de小郭3 小时前
Dart 3.13 的到底改了什么?为什么很重要?有什么坑?
android·前端·flutter
HZZD_HZZD4 小时前
3T-UEM 数据建模实战:三维立方体 + LAM/ELA 双归因怎么落地?
android