I had implemented Exoplayer in my project and it was working perfectly but today it started producing error in my XML layout for the field app:player_layout_id="@layout/exo_simple_player_view"
, saying that can't resolve @layout/exo_simple_player_view
Asked
Active
Viewed 733 times
2

Mona Baharlou
- 1,401
- 1
- 13
- 26
2 Answers
7
After some researches, I understood that it has changed from exo_simple_player_view.xml
to exo_styled_player_view.xml
in Exoplayer version 2.13.2 . After I set this new style value, my error gone
You can check this Exoplayer github

Mona Baharlou
- 1,401
- 1
- 13
- 26