Skip to content

System.NotSupportedException: Cannot create instance of type 'FFImageLoading.Maui.Platform.DroidImageView': no Java peer type found. #78

@raV720

Description

@raV720

After update from 1.2.9 to 1.3.0 (also 1.3.2) there is an error when trying to display image:

System.NotSupportedException: Cannot create instance of type 'FFImageLoading.Maui.Platform.DroidImageView': no Java peer type found.
   at Java.Interop.JniPeerMembers.JniInstanceMethods..ctor(Type )
   at Java.Interop.JniPeerMembers.JniInstanceMethods.GetConstructorsForType(Type )
   at Java.Interop.JniPeerMembers.JniInstanceMethods.StartCreateInstance(String , Type , JniArgumentValue* )
   at AndroidX.AppCompat.Widget.AppCompatImageView..ctor(Context )
   at FFImageLoading.Maui.Platform.DroidImageView..ctor(Context context)
   at FFImageLoading.Maui.Platform.CachedImageHandler.CreatePlatformView()

Error occurs on Android 13. Does not occur on Android 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions