Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error inflating.. #79

Open
edgelv34 opened this issue Apr 12, 2021 · 2 comments
Open

Error inflating.. #79

edgelv34 opened this issue Apr 12, 2021 · 2 comments

Comments

@edgelv34
Copy link

edgelv34 commented Apr 12, 2021

Caused by: android.view.InflateException: Binary XML file line #36: Binary XML file line #36: Error inflating class bg.devlabs.fullscreenvideoview.VideoControllerView
Caused by: android.view.InflateException: Binary XML file line #36: Error inflating class bg.devlabs.fullscreenvideoview.VideoControllerView
Caused by: java.lang.reflect.InvocationTargetException

[build.gradle/app]
implementation 'bg.devlabs.fullscreenvideoview:library:1.1.6'

[xml]

<bg.devlabs.fullscreenvideoview.FullscreenVideoView
            android:id="@+id/fullscreenVideoView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>

[activity]

override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        val videoView = findViewById<FullscreenVideoView>(R.id.fullscreenVideoView)
        val videoPath = "https://bit.ly/2wUgyUw"
        videoView.videoUrl(videoPath)
    }

why... happend..? :(

@STPLMAYUR
Copy link

I am facing same issue

@navidkhalilian
Copy link

I am facing same issue on android 9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants