I am getting this when using a recycle view along with Picasso library to fetch images from sound cloud. The problem is that the app freezes for few seconds sometimes. Then, I get a message of skipping frames and doing too much work on the main thread. I am using retrofit to perform the Http connection.
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
KnoxVpnUidStorageknoxVpnSupported API value returned is false
I/Choreographer: Skipped 102 frames! The application may be doing too much work on its main thread.
The reason for App freezing is because of the error " The application may be doing too much work on its main thread". The reason for this error is maybe you are trying to download images of a bigger size which is exceeding the app memory.Using large size images or resource files also causes this error. "isSBSettingEnabled false" is may be because of using HttpUrlConnection, this mainly occurs while using Samsung devices. Try using emulator.
I may be too late but it can help someone. I encountered this situation in two case. First situation I was trying to download something big and doing simultaneous download, I was not quite sure if it was a problem but I changed the mechanism for download and used okhttp. Second time Yes it was also in downloading but this time it was a bad URL that I was using: http://example.com/file to download.pdf (look here space was the problem). Formatting the URL was the only thing to fix it.
You can try to add this attribute to your part in the AndroidManifest.xml
android:usesCleartextTraffic="true"
This could solve the problem on my app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With