在 Android 项目中添加 Bitmovin Cast 后,我从不同的设备上遇到了很多相同的问题。
这个解决方案没有帮助。
GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(getContext())
- 返回 0(成功)
但应用程序崩溃。
Caused by java.lang.RuntimeException: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.
at com.google.android.gms.internal.cast.zze.zzf(Unknown Source:51)
at com.google.android.gms.internal.cast.zze.zza(Unknown Source:1)
at com.google.android.gms.cast.framework.CastContext.(Unknown Source:37)
at com.google.android.gms.cast.framework.CastContext.getSharedInstance(Unknown Source:6)
at com.bitmovin.player.BitmovinPlayer.(SourceFile:106)
at com.bitmovin.player.BitmovinPlayer.(SourceFile:82)
at com.bitmovin.player.BitmovinPlayer.(SourceFile:71)
at com.bitmovin.player.BitmovinPlayerView.(SourceFile:134)
at com.bitmovin.player.BitmovinPlayerView.(SourceFile:120)
所以,Google Play 服务版本是可以的。