The application may be doing too much work on its main thread

前端 未结 17 1848
挽巷
挽巷 2020-11-21 07:34

I am new to Android SDK/API environment. It\'s the first I am trying to draw a plot/chart. I tried running different kinds of sample codes the emulator using 3 different fre

17条回答
  •  抹茶落季
    2020-11-21 08:15

    After doing much R&D on this issue I got the Solution,

    In my case I am using Service that will run every 2 second and with the runonUIThread, I was wondering the problem was there but not at all. The next issue that I found is that I am using large Image in may App and thats the problem.

    I removed the Images and set new Images.

    Conclusion :- Look into your code is there any raw file that you are using is of big size.

提交回复
热议问题