-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Not working on 2.3.4 #8
Comments
This is expected. The demo application has a minSdkVersion of 16, so you shouldn't have even been able to install it, at least not using "adb install": https://github.com/google/ExoPlayer/blob/master/demo/src/main/AndroidManifest.xml#L28 The dev guide also notes that ExoPlayer is build to run on API levels >= 16 at the start of the overview section: http://developer.android.com/guide/topics/media/exoplayer.html#overview The actual library indicates a minSdkVersion of 9 because it's possible to use parts of the ExoPlayer library on older versions of Android if you're, for example, willing to write your own custom TrackRenderer that hooks into software decoders that you package in your apk. |
Demo project has minSdkVersion 9 (https://github.com/google/ExoPlayer/blob/master/demo/build.gradle) |
Ah, that's an oversight in the gradle build. I've been mostly using the Eclipse projects instead. I'll fix that, thanks. |
No prob, thanks for clearing min version requirement |
Fixed in dev in: b398c59 |
When an Android app doesn't have the INTERNET permission, getHeaderFields() returns null resulting in NPE
ExoPlayer is said to require minimum API=9, but it fails to play video on 2.3.4:
01-14 21:46:15.961 7094-7094/com.google.android.exoplayer.demo E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.NoSuchFieldError: android.os.AsyncTask.THREAD_POOL_EXECUTOR
at com.google.android.exoplayer.demo.simple.DashVodRendererBuilder.buildRenderers(DashVodRendererBuilder.java:78)
at com.google.android.exoplayer.demo.simple.SimplePlayerActivity.onResume(SimplePlayerActivity.java:130)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1150)
at android.app.Activity.performResume(Activity.java:3882)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2191)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2228)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1721)
at android.app.ActivityThread.access$1500(ActivityThread.java:124)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:968)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: