Unable to find obfuscated Firebase class in Eclipse(无法在 Eclipse 中找到混淆的 Firebase 类)
问题描述
是的,很遗憾,我正在开发一个仍在使用 Eclipse 进行的项目.我正在将它与 Firebase 集成,并阅读了有关让 aar 文件与 Eclipse 一起使用的信息(
好的,发现错误了.
我只导入 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 类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在 Eclipse 中找到混淆的 Firebase 类
基础教程推荐
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
