目前我正在使用以下版本:
compile 'com.google.firebase:firebase-core:11.8.0'
compile 'com.google.firebase:firebase-ads:11.8.0'
compile 'com.google.firebase:firebase-messaging:11.8.0'
如果我切换到
compile 'com.google.firebase:firebase-core:15.0.2'
compile 'com.google.firebase:firebase-ads:15.0.1'
compile 'com.google.firebase:firebase-messaging:15.0.2'
我在编译期间遇到错误:
Error:(1032, 22) error: cannot access zzbfm
class file for com.google.android.gms.internal.zzbfm not found
这些库有什么问题?
我也使用以下库:
compile 'com.google.android.gms:play-services-cast-framework:11.8.0'
当Android Studio显示Firebase库的错误时,它会跳转到代码:
private MediaInfo buildMediaInfo() {
MediaMetadata mediaMetadata = new MediaMetadata(MediaMetadata.MEDIA_TYPE_TV_SHOW);
mediaMetadata.putString(MediaMetadata.KEY_TITLE, clickedChannel.getName());
String protectedURL = getURLwithSignature(selectedStreamingURL);
appendLog(protectedURL);
return new MediaInfo.Builder(protectedURL)
.setContentType("application/x-mpegurl")
.setStreamType(MediaInfo.STREAM_TYPE_LIVE)
.setMetadata(mediaMetadata)
.build();
}
我似乎应该将com.google.android.gms:play-services-cast-framework更新为15.0.1,但版本不存在。
答案 0 :(得分:0)
更新了此库
com.google.android.gms:play-services-cast-framework to 15.0.1