小编Che*_*bTS的帖子

找不到可接受的模块。本地版本为 0,远程版本为 0

在 Android 项目中添加 Bitmovin Cast 后,我​​在不同的设备上遇到了很多相同的问题。

解决方案没有帮助。

GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(getContext()) 
Run Code Online (Sandbox Code Playgroud)

- 返回 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)
Run Code Online (Sandbox Code Playgroud)

所以,谷歌播放服务版本是可以的。

android google-play-services android-cast-api google-cast-sdk

6
推荐指数
2
解决办法
2万
查看次数