Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

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

$
0
0

Hey there,

We are building an app with Xamarin.Forms.. App works well on Windows and iOS without much performance impact, however on Android performance is extremely slow.. When I checked output in Visual Studio, I found these logs that might hurt the performance of an app -

03-13 09:57:50.826 I/Choreographer( 1469): Skipped 79 frames! The application may be doing too much work on its main thread.
03-13 09:58:06.775 W/ResourceType( 1469): No known package when getting value for resource number 0xff303030

I see these errors coming again and again when I navigate through pages.

No known package when getting value for resource number 0xff303030 does occur only when I test my app on Android with Lollipop on it..

The app concept is simple, we are navigation through multiple pages and having hamburger menu (Master Detail Page).. We are using MVVM Light as a framework along with Xamarin.Forms.

How do I avoid doing too many tasks on it's main thread? Does it cause because of Device.BeginInvokeOnMainThread? Because we've used it quite often while changing content of page.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>