无法在Eclipse中找到混淆的Firebase类 [英] Unable to find obfuscated Firebase class in Eclipse

查看:897
本文介绍了无法在Eclipse中找到混淆的Firebase类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,可惜我正在开发一个仍在使用Eclipse的项目。我将它与Firebase集成在一起,我阅读了关于使用Eclipse的aar文件(

解决方案



我正在导入 firebase-messaging aar,但也应该导入 firebase-iid


Yes, sadly I'm working on a project that's still being worked on using Eclipse. I'm integrating this with Firebase and I read this about getting the aar file working with Eclipse (How can I use Firebase cloud message in an eclipse project?), and everything is doing ok except the following:

I'm able to import several classes in the jar file:

import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;

but when trying to extend FirebaseMessagingService I get the following error:

The type com.google.firebase.iid.zzb cannot be resolved. It is indirectly referenced from required .class files

I peeked into the jar file and I can see other classes but not those. Any ideas?

解决方案

Ok, found the error.

I'm importing just the firebase-messaging aar, but should also import firebase-iid.

这篇关于无法在Eclipse中找到混淆的Firebase类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆