Xamarin forms: Android 11 : Embedded resource images not showing

Sanjai PT 16 Reputation points
2021-11-09T12:42:23.12+00:00

Due to recent update form Google play store I updated Target Android version from Android 10(API level 29) to Android 11(API level 30). After the update in certain phone (especially motorola) embedded resource images are not showing. Can someone help me on if I need to do anything to fix this particular issue ?

Developer technologies | .NET | Xamarin
{count} vote

1 answer

Sort by: Most helpful
  1. Sanjai PT 16 Reputation points
    2021-11-18T05:49:56.633+00:00

    Hi @JarvanZhang
    Issue with embedded resource image is resolved for me now. I am using svg image in my Xamarin application. I had been using the nuget Xamarin.FFImageLoading.Svg.Forms which was working fine in all devices when Target Android version was Android 10. This issue with SVG images not showing occured in some devices only when I updated target Android version to Andorid 11.

    Solution to this to install latest version of Skiaharp i.e 2.80.3 into Xamarin Android project.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.