Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

java.lang.IllegalStateException: android.os.Parcel.readException #23

Open
anonym24 opened this issue Jan 5, 2019 · 1 comment
Open

Comments

@anonym24
Copy link

anonym24 commented Jan 5, 2019

java.lang.IllegalStateException: 
  at android.os.Parcel.readException (Parcel.java:1554)
  at android.os.Parcel.readException (Parcel.java:1499)
  at com.google.android.youtube.player.internal.l$a$a.a (l.java)
  at com.google.android.youtube.player.internal.o.a (o.java)
  at com.google.android.youtube.player.internal.ac.a (ac.java)
  at com.google.android.youtube.player.YouTubePlayerView.a (YouTubePlayerView.java)
  or                     .b (YouTubePlayerView.java)
  or                     .initialize (YouTubePlayerView.java)
  at com.google.android.youtube.player.YouTubePlayerView$1.a (YouTubePlayerView.java)
  at com.google.android.youtube.player.internal.r.g (r.java)
  at com.google.android.youtube.player.internal.r$c.a (r.java)
  at com.google.android.youtube.player.internal.r$b.a (r.java)
  at com.google.android.youtube.player.internal.r$a.handleMessage (r.java)
  at android.os.Handler.dispatchMessage (Handler.java:111)
  at android.os.Looper.loop (Looper.java:194)
  at android.app.ActivityThread.main (ActivityThread.java:5637)
  at java.lang.reflect.Method.invoke (Method.java)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:960)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)

also here https://stackoverflow.com/questions/27579834/java-lang-illegalstateexception-youtubeserviceentity-not-initialized-error-when (an issue isn't about YouTube Android Player Fragments version. I use YouTube Android Player only with activity and have the same issue: I get some reports from Google Console java.lang.IllegalStateException android.os.Parcel.readException)

image

@hberberoglu
Copy link

hberberoglu commented Sep 24, 2019

I think this is related to https://issuetracker.google.com/issues/35175333 On this link you will see that error exists since Aug 21, 2014. And Youtube SDK still has that error. Especially with Huawei phones are getting this error.

If user open native Youtube app first, this error doesnt occur and our apps Youtube player can work.

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

No branches or pull requests

2 participants