Xamarin.Forms - Android - Error after migration to AndroidX on Xamarin Forms 5

Hi,

After migrating to AndroidX every time I  open a PDF I get this error and the app crash:

"Binary XML file line #1: Binary XML file line #1: Error inflating class android.support.design.widget.TextInputLayout"


Syncfusion.Xamarin.SPdfViewer (19.4.0.47)

Xamarin Forms (5.0.0.2291)

Regards,

Daniel Amorim


2 Replies

SP SarathKumar Prakash Syncfusion Team January 31, 2022 07:52 AM UTC

Hi Daniel Amorim,

 
While checking the issue on our end, this occurs due to the missing package reference "Xamarin.Android.Support.Design" in the Android project. Kindly add this package to your Android project and let us know whether the issue gets resolved or not. 

However, this issue can be overcome without adding the package reference and this will be fixed in our upcoming 2022 Volume 1 main release.

Regards,
Sarath Kumar.
 



SP SarathKumar Prakash Syncfusion Team February 15, 2022 02:26 PM UTC

Hi Daniel 

We have resolved the issue “App crash while loading PDF with Android.Views.InflateException” and now PDF can be loaded properly without adding this package “Xamarin.Android.Support.Design”.
Fix for the this issue can be available in our latest weekly NuGet(v19.4.0.52).
 
 

 

Regards,
Sarath Kumar.
 


Loader.
Up arrow icon