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

VS2019 crash in release with full linking and AOT

Thread ID:

Created:

Updated:

Platform:

Replies:

144920 May 28,2019 04:17 PM UTC Jun 7,2019 09:44 AM UTC Xamarin.Forms 4
loading
Tags: SfDataGrid
Emil
Asked On May 28, 2019 04:17 PM UTC

Hi, 

When i build my app using AOT+LLVM+Proguard+Link all+ bundle into native assemblies in release mode using VS2019, app is starting fine but if i redirect to a page with sfdatagrid, it crashes with error below.  same app same configuration works fine using VS2017. I dont know what is the difference but it looks like VS2019 linker is more aggresive and removes some classes than VS2017

Java.Lang.ClassNotFoundException: Didn't find class "syncfusion.sfdatagrid.xforms.droid.ScrollViewer" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/==/base.apk"],nativeLibraryDirectories=[/data/app/ ==/lib/arm, /data/app/ ==/base.apk!/lib/armeabi-v7a, /system/lib]]

Pradeep Kumar Balakrishnan [Syncfusion]
Replied On May 29, 2019 04:08 PM UTC

Hi Emil, 
 
Thank you for using Syncfusion controls. 
 
Currently, we are checking the reported issue “SfDataGrid Scrollviewer file is skipped to compile in VS 2019”. We will share the further details on May 31, 2019. We will appreciate your patience until then.  
 
Regards, 
Pradeep Kumar B 


Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 31, 2019 01:43 PM UTC

Hi Emil, 
  
Thank you for your patience. 
  
We have checked the issue “SfDataGrid crashes in VS2019”. We have enabled Proguard and Link all assemblies and checked the sample in the release mode. The sample works fine at our end. Since we are haven’t updated to enterprise edition of VS2019, we couldn’t able to enable AOT and LLVM. We will update the VS2019 to enterprise edition and will update you on or before 4th June 2019. 
  
Please find the attached sample for your your reference,  
 
 
In a meantime, please check the below tested sample and let us know if you are still facing the same issue? If not, please modify the sample based on your scenario and revert us with the more details of SfDataGrid settings. It will be helpful for us to check on it and provide you the solution at the earliest.  
 
Regards,  
Subburaj Pandian V  


Jagadeesan Pichaimuthu [Syncfusion]
Replied On June 4, 2019 12:18 PM UTC

Hi Emil, 
  
We have tried to run the VS2019 enterprise version through virtual machine, since emulators are not supported, and devices could not be accessed through virtual machine. We could not able to check with AOT and LLVM settings. We will update our system to VS2019 enterprise version and will update you details on or before 7th June 2019. 
  
We appreciate your patience until then. 
  
Also, can you please let us know whether the issue occurred in the sample which has been provided in the last update.  If not, please modify the sample based on your scenario and revert us with the more details of SfDataGrid settings. It will be helpful for us to check on it and provide you the solution at the earliest.   
  
  
Regards, 
Jagadeesan 


Subburaj Pandian Veluchamy [Syncfusion]
Replied On June 7, 2019 09:44 AM UTC

Hi Emil, 
  
Thank you for your patience. 
  
We have updated to VS2019 enterprise version and checked the sample by enabling mentioned settings [AOT+ LLVM+ Progaurd + Link All + Bundle into native code] in release mode. We could not able replicate the issue “SfDataGrid crashes in VS2019” and SfDataGrid loads and works fine at our end. We have checked by using navigation page and the sample works fine. We have attached the sample for your reference, 
  
  
Please check the tested sample and let us know if you are still facing the same issue? If not, please modify the sample based on your scenario and revert us with more details of SfDataGrid settings. It will be helpful for us to check on it and provide you the solution at the earliest.   
 
Regards,
Subburaj Pandian V      


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