我正在使用YouTubePlayerSupportFragment并发现以下错误。到目前为止,还没有可靠的解

时间:2017-06-19 08:47:40

标签: android youtube-api android-youtube-api

我在网上搜索了很长时间。但没用。请帮助或尝试提出一些如何实现这一目标的想法 我们使用的YouTubePlayerApi是v1.2.2。 Fabric的崩解率:

  • Galaxy J1(2016)50%
  • Galaxy J1 Mini25%
  • Galaxy J1 Ace25%

和操作系统: 5.1.1 80%,5.1 20%

Fatal Exception: java.lang.IllegalStateException: YouTubeServiceEntity not initialized
    at android.os.Parcel.readException(Parcel.java:1610)
    at android.os.Parcel.readException(Parcel.java:1555)
    at com.google.android.youtube.player.internal.l$a$a.a(Unknown Source)
    at com.google.android.youtube.player.internal.o.a(Unknown Source)
    at com.google.android.youtube.player.internal.ac.a(Unknown Source)
    at com.google.android.youtube.player.YouTubePlayerView.initialize(Unknown Source)
    at com.google.android.youtube.player.YouTubePlayerView$1.a(Unknown Source)
    at com.google.android.youtube.player.internal.r.g(Unknown Source)
    at com.google.android.youtube.player.internal.r$c.a(Unknown Source)
    at com.google.android.youtube.player.internal.r$b.a(Unknown Source)
    at com.google.android.youtube.player.internal.r$a.handleMessage(Unknown Source)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:150)
    at android.app.ActivityThread.main(ActivityThread.java:5578)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)