We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfTabView 'Animators may only be run on Looper threads' when changing Tab

Thread ID:

Created:

Updated:

Platform:

Replies:

150257 Dec 29,2019 08:33 AM UTC Jan 2,2020 02:02 PM UTC Xamarin.Forms 3
loading
Tags: SfTabView
Kien.Phat
Asked On December 29, 2019 08:34 AM UTC

My project have SfTabview with 3 TabItem and it work fine but today when im changing the tab, my App will crash and this error show up

Android.Util.AndroidRuntimeException:** 'Animators may only be run on Looper threads' 

This is debug log:

Loading reference 7 of /storage/emulated/0/Android/data/com.myapp.MyApp/files/.__override__/Syncfusion.SfTabView.XForms.Android.dll asmctx DEFAULT, looking for Syncfusion.Core.XForms, Version=17.4451.0.40, Culture=neutral, PublicKeyToken=null
Assembly Ref addref Syncfusion.SfTabView.XForms.Android[0xdb510460] -> Syncfusion.Core.XForms[0xdb50fd40]: 12
**Android.Util.AndroidRuntimeException:** 'Animators may only be run on Looper threads'

I just remember it's work normally before im update Syncfusion to the last version few days ago.

Hemalatha Marikumar [Syncfusion]
Replied On December 30, 2019 10:20 AM UTC

Hi Kien.Phat, 
 
Greetings from Syncfusion. 
 
We would like to let you know that reported crash issue “Android.Util.AndroidRuntimeException when tab between the SfTabview-TabItems” with TabView is a known issue and we have already fixed the same. Please find the patch from below link

Assemblies: 
 
Assembly Version: 17.4.0.40 
 
Currently we don’t have a patch support for weekly Nuget release. Hence only provided this fix through custom assembly. 
 
Guidelines to use this custom assembly
 
Before applying this, please clear the cache 
 
 
Please do as per in below link when configured with Nuget in your application 
 

This fix will be included in our weekly Nuget release which is expected to be rolled out on 7th January 2020. 
 
Regards, 
Hemalatha M. 
 


Kien.Phat
Replied On January 2, 2020 04:48 AM UTC

Hi Kien.Phat, 
 
Greetings from Syncfusion. 
 
We would like to let you know that reported crash issue “Android.Util.AndroidRuntimeException when tab between the SfTabview-TabItems” with TabView is a known issue and we have already fixed the same. Please find the patch from below link

Assemblies: 
 
Assembly Version: 17.4.0.40 
 
Currently we don’t have a patch support for weekly Nuget release. Hence only provided this fix through custom assembly. 
 
Guidelines to use this custom assembly
 
Before applying this, please clear the cache 
 
 
Please do as per in below link when configured with Nuget in your application 
 

This fix will be included in our weekly Nuget release which is expected to be rolled out on 7th January 2020. 
 
Regards, 
Hemalatha M. 
 


yeah i have followed your guide and when swipe tabview not crashing anymore.

But when tapping Tab header the app will Crash and this showing up:

System.TypeLoadException: Could not resolve type with token 01000039 from typeref (expected class 'System.Drawing.Point' in assembly 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51')

Hemalatha Marikumar [Syncfusion]
Replied On January 2, 2020 02:02 PM UTC

Hi Kein.Phat, 
 
Thanks for your update. 
 
We have analyzed your query and checked the reported issue of “when tapping Tab header the app will Crash” with our provided custom assembly, but we are unable to reproduce the issue. We have attached sample with our provided custom assembly, please find the sample link from below 
 
 
We have recorded video for this, please find the video from below link: 
 
Please check with our provided sample and if issue persists, please update the following details. 
 
·       Update Xamarin.Forms version.

 
·       Update Code snippet or modified sample.

 
This will be helpful for us to investigate further and provide you a better solution at the earliest.

 
Regards, 
Hemalatha M. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon