![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FnUlPF%2FbtrOSbl8CBe%2FL29THtgZ5QBFk3CQYL9FWK%2Fimg.png)
Error
[Android][Error] New Thread 에러 : Only the original thread that created a view hierarchy can touch its views
[상황] 메인 쓰레드가 아닌 새로운 쓰레드에서 로직을 수행 로직 수행 중 UI 변경이 일어나는 코드를 수행 시 에러 발생 [참고 플랫폼] 더보기 1. Android Studio Bumblebee | 2021.1.1 Patch 2 | Runtime version: 11.0.11 2. 실행 Device : 갤럭시 M12(android 12) [에러 내용] android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. [해결 방법] 메인 쓰레드가 아닌 다른 쓰레드에서 UI 변동이 일어나면 해당 에러를 발생시킨다 이를 위해 UI 변동이 ..