본문 바로가기

Programming/Android

안드로이드 스튜디오의 CPU 점유율이 높을때

에뮬레이터를 돌리고 있지 않는데도 점유율이 하늘 높은줄 모르고 오르고 있다면

 

File-Setting-Build, Execution, Deployment -> Gradle -> offline work를 체크하면 된다.

 

이번엔 땅속 깊은 줄 모르고 떨어진다

 

 

+

file -> Setting -> version Control -> backGround에서

perform update from VSC in Background

perform commit to VCS in Background

perform checkout from VCS in background

위의 세개 항목 체크 해제

 

+

file ->setting -> build, execution, deployment -> instant Run에서

Enble instant run to hot swap code / resource changes on deploy 체크

 

예외 : cocos2d-x 같이 타언어( java / kotlin 이외 ) 클래스 파일의 숫자가 많은 경우 파일 체크 시에 CPU 사용량이 올라가는 경우가 있는데 이건 어찌할 수가..