마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

The application may be doing too much work 에러 어떻게 해결해야 할까요 ?

0 추천
I/Choreographer: Skipped 148 frames!  The application may be doing too much work on its main thread.
I/Choreographer: Skipped 83 frames!  The application may be doing too much work on its main thread.
I/Choreographer: Skipped 80 frames!  The application may be doing too much work on its main thread.
I/Choreographer: Skipped 75 frames!  The application may be doing too much work on its main thread.
I/Choreographer: Skipped 76 frames!  The application may be doing too much work on its main thread.
I/Choreographer: Skipped 81 frames!  The application may be doing too much work on its main thread.

에러메세지 입니다.

 

onCreate에 작업이 많은 것 같아서 class SubThread extends Thread 를 만들어서

 

SubThread sThread = new SubThread();

SubThread.start();   

이렇게 만들어서 작업을 분리시켰습니다.

onCreate() 안에 Handler mHandler = new Handler();를 만들고

SubThread안에는 mHandler.post()로 작업이 가능하게 만들었습니다.

 

에러는 여전히 해결이 안되네요 ..ㅠㅠ

제가 잘못 접근하고 있는것같은데 잘못된 부분 지적해주세요 ㅠㅠ

 

 

익명사용자 님이 2016년 11월 7일 질문

1개의 답변

0 추천
prefix 가 I 면 info 같은데 왜 오류라고 생각하시는 것인가요 ?
aucd29 (218,390 포인트) 님이 2016년 11월 7일 답변
...