>游戏服务:9.4.0 – > 10.2.1
> MixPanel:4.9.2 – > 4.9.8
>对讲机:3.0.10 – > 3.1.3
以下是com.Google.firebase.messaging的proguard警告.*
Warning: com.Google.firebase.messaging.FirebaseMessagingService: can't find referenced method 'com.Google.firebase.iID.zzg zzabT()' in program class com.Google.firebase.iID.zzgWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvH' in program class com.Google.androID.gms.internal.zzbxz$zzaWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvH' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvI' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'long zzcvJ' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvK' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'int zzcvL' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'int zzcvM' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvN' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvO' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'java.lang.String zzcvR' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'int zzcvS' in program class com.Google.androID.gms.internal.zzbxz$zzbWarning: com.Google.firebase.messaging.zzc: can't find referenced fIEld 'com.Google.androID.gms.internal.zzbxz$zza[] zzcvT' in program class com.Google.androID.gms.internal.zzbxz$zzb
我正在使用最新的游戏服务.
intercomlibraryVersion = '3.1.3' // https://github.com/intercom/intercom-androID/blob/master/CHANGELOG.mdmixPanelVersion = '4.9.8' // https://github.com/mixpanel/mixpanel-androID/releasesplayServiceVersion = '10.2.1' // https://developers.Google.com/androID/guIDes/releases// Google Play Services// https://developers.Google.com/androID/guIDes/setup// https://firebase.Google.com/docs/androID/setupcompile "com.Google.androID.gms:play-services-base:$rootProject.playServiceVersion"compile "com.Google.androID.gms:play-services-gcm:$rootProject.playServiceVersion"// used by - mixpanel & intercom// Mixpanel//https://github.com/mixpanel/mixpanel-androID/releasescompile "com.mixpanel.androID:mixpanel-androID:$rootProject.mixPanelVersion"// Intercom - live chat and analytics// https://github.com/intercom/intercom-androID// https://developers.intercom.com/docs/androID-installationcompile "io.intercom.androID:intercom-sdk-base:$rootProject.intercomlibraryVersion"compile "io.intercom.androID:intercom-sdk-fcm:$rootProject.intercomlibraryVersion"
我唯一能避免这些警告的方法是添加以下proguard规则.
-dontwarn com.Google.firebase.messaging.**
有人知道这方面的影响吗?或者如何修复此firebase消息问题.
更新#1
应用程序现在随机崩溃与以下堆栈跟踪.
04-06 14:49:28.911 25362-25455/? E/AndroIDRuntime: FATAL EXCEPTION: pool-13-thread-1 Process: com.myapp,PID: 25362 java.lang.AbstractMethodError: abstract method "voID com.Google.firebase.iID.b.handleIntent(androID.content.Intent)" at com.Google.firebase.iID.b.run(UnkNown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)解决方法 当您忘记更新firebase依赖项时,通常会出现此错误.
Firebase引用必须始终与Google依赖项的版本相同.
这会遇到你的错误:
compile 'com.Google.androID.gms:play-services-gcm:10.2.1'compile 'com.Google.androID.gms:play-services-maps:10.2.1'compile 'com.Google.androID.gms:play-services-location:10.2.1'compile 'com.Google.firebase:firebase-auth:10.0.1'compile 'com.Google.firebase:firebase-core:10.0.1'compile 'com.Google.firebase:firebase-database:10.0.1'
这解决了错误:
compile 'com.Google.androID.gms:play-services-gcm:10.2.1'compile 'com.Google.androID.gms:play-services-maps:10.2.1'compile 'com.Google.androID.gms:play-services-location:10.2.1'compile 'com.Google.firebase:firebase-auth:10.2.1' //Updatedcompile 'com.Google.firebase:firebase-core:10.2.1' //Updatedcompile 'com.Google.firebase:firebase-database:10.2.1' //Updated
希望它能解决你的问题
总结以上是内存溢出为你收集整理的android – Google Play服务和Firebase的ProGuard问题全部内容,希望文章能够帮你解决android – Google Play服务和Firebase的ProGuard问题所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)