android / codelab-exoplayer-intro

Media Streaming with ExoPlayer codelab
https://codelabs.developers.google.com/codelabs/exoplayer-intro
Apache License 2.0
221 stars 116 forks source link

error: cannot find symbol class PlayerView #47

Closed SamanSepahvand closed 4 years ago

SamanSepahvand commented 4 years ago

hi.first thank you for this library and then after few month work with this library i have this error " error: cannot find symbol class PlayerView " Thank you for answering the question.

dturner commented 4 years ago

It sounds like you might have forgotten to import the PlayerView class in PlayerActivity. You can do this by adding the following code in the imports section:

import com.google.android.exoplayer2.ui.PlayerView;