I'm using android studio and i have a problem with Vitamio VideoView.
Here is my layout file:
Here is an error in my class:
This is normal behaviour. findViewById
returns a View
which is a superclass of VideoView
.
Just add a type cast:
mVideoView = (VideoView)findViewById(R.id.surface_view);