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

前端 未结 17 1874
挽巷
挽巷 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:22

    I had the same problem. Android Emulator worked perfectly on Android < 6.0. When I used emulator Nexus 5 (Android 6.0), the app worked very slow with I/Choreographer: Skipped frames in the logs.

    So, I solved this problem by changing in Manifest file hardwareAccelerated option to true like this:

    
    
    
        
            ...
        
    
    

提交回复
热议问题