My short demo program is basically the one included with the library but I changed the video URL and made some other minor changes but it otherwise works great before attempting to invoke a spherical view mode.
With this snippet added to the manifest file, the project compiles but I get the white screen and no response, then exit from FireTV app.
CreateResource(layout, exo_simple_player_view.xml,
<merge xmlns:android="
http://schemas.android.com/apk/res/android"
xmlns:app="
http://schemas.android.com/apk/res-auto">
<com.google.android.exoplayer2.ui.PlayerView
app:surface_type="spherical_gl_surface_view"/>
.....
It looks like 500+ instances of ExoPlayer are being attempted, but I could be wrong...
debug ->
Logger connected to: Amazon AFTT
--------- beginning of main
--------- beginning of system
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
art/runtime/indirect_reference_table.cc:98] JNI ERROR (app bug): local reference table overflow (max=512)
art/runtime/indirect_reference_table.cc:98] local reference table dump:
art/runtime/indirect_reference_table.cc:98] Last 10 entries (of 512):
art/runtime/indirect_reference_table.cc:98] 511: 0x12c1ec00 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 510: 0x12c1d800 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 509: 0x12c1cc00 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 508: 0x12c1c800 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 507: 0x12c19800 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 506: 0x12c19400 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 505: 0x12f50c00 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 504: 0x12f50800 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 503: 0x12f50400 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] 502: 0x12f50000 com.google.android.exoplayer2.ui.PlayerView
art/runtime/indirect_reference_table.cc:98] Summary:
art/runtime/indirect_reference_table.cc:98] 1 of java.lang.String[] (3 elements)
art/runtime/indirect_reference_table.cc:98] 2 of java.lang.Class (2 unique instances)
art/runtime/indirect_reference_table.cc:98] 3 of java.lang.String (3 unique instances)
art/runtime/indirect_reference_table.cc:98] 506 of com.google.android.exoplayer2.ui.PlayerView (506 unique instances)
art/runtime/indirect_reference_table.cc:98]