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. Image for the cookie policy date
close icon

VS2019 crash in release with full linking and AOT

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]]

4 Replies

PK Pradeep Kumar Balakrishnan Syncfusion Team 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 



SP Subburaj Pandian Veluchamy Syncfusion Team 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  



JP Jagadeesan Pichaimuthu Syncfusion Team 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 



SP Subburaj Pandian Veluchamy Syncfusion Team 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      


Loader.
Live Chat Icon For mobile
Up arrow icon