Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

AVKit.AVPlayerViewController not instantiatable. Need some help.

$
0
0

Hi there,

I am experiencing trouble working with AVPlayerViewController, but already using plain AVPlayer (both referenced in AVKit) in the same project without problems.

The issue is the following: If I try to instantiate AVPlayerViewController (as simple as var avp = new AVPlayerViewController()) the App crashes with an SIGABRT and the error message “Could not create an native instance of the type 'AVKit.AVPlayerViewController': the native class hasn't been loaded.“. The detailed stacktrace is attached below.

I have no idea how to work around this issue, a search around the net was not very helpful. The only thing I know, is that the generated error is quite common when you mess up in self-made bindings.

Anyone an idea, what the issue could be?

best regards,
Felix


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>