11.0.2更新后,Chromecast Expanded Controller,Tracks Chooser对话框崩溃了应用

时间:2017-07-18 21:11:39

标签: java android chromecast google-cast google-cast-sdk

当用户想要更改AUDIO Track时,chromecast轨道选择器对话框会崩溃应用程序。当“play-services-cast-framework”更新10.2.6到11.0.2

时,它就开始发生了

它知道bug吗?或者我该如何解决?

已发布Play服务11.2.0但未发生变更......

  

logcat

中的错误      

java.lang.NullPointerException:尝试调用虚拟方法'long   空对象上的com.google.android.gms.cast.MediaTrack.getId()'   参考                                                                                  在   com.google.android.gms.cast.framework.media.TracksChooserDialogFragment.zza(未知   资源)                                                                                  在   com.google.android.gms.cast.framework.media.TracksChooserDialogFragment.zza(未知   资源)                                                                                  在com.google.android.gms.cast.framework.media.zzak.onClick(未知   资源)                                                                                  在   com.android.internal.app.AlertController $ ButtonHandler.handleMessage(AlertController.java:175)                                                                                  在android.os.Handler.dispatchMessage(Handler.java:102)                                                                                  在android.os.Looper.loop(Looper.java:154)                                                                                  在android.app.ActivityThread.main(ActivityThread.java:6776)                                                                                  at java.lang.reflect.Method.invoke(Native Method)                                                                                  在   com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:1520)                                                                                  在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

Gradle依赖

compile 'com.google.android.gms:play-services-analytics:11.0.2'
compile 'com.google.android.gms:play-services-gcm:11.0.2'
compile 'com.google.android.gms:play-services-cast-framework:11.0.2' 
compile 'com.google.android.gms:play-services-ads:11.0.2'
compile 'com.google.firebase:firebase-core:11.0.2'
compile 'com.google.firebase:firebase-config:11.0.2'
compile 'com.google.firebase:firebase-messaging:11.0.2'
compile 'com.google.firebase:firebase-invites:11.0.2'
compile 'com.google.firebase:firebase-appindexing:11.0.2'

1 个答案:

答案 0 :(得分:0)

这似乎是一个已知错误,在问题跟踪器中报告:https://issuetracker.google.com/issues/64796099