【发布时间】:2023-03-17 20:43:01
【问题描述】:
在为 Android 应用程序使用 Firebase SDK 时,我不断收到类似以下的警告和错误(在 Eclipse 中):
Warning ... can't find referenced class ...
Warning: there were ... unresolved references to classes or interfaces ...
You may need to specify additional library jars (using '-libraryjars') ...
很遗憾,Firebase 没有任何关于其与 ProGuard 一起使用的官方文档。
在使用 ProGuard 进行混淆时,我的应用需要哪些指令才能使用 Firebase 成功编译版本?
【问题讨论】:
-
很遗憾,这并没有解决 Coinverse 应用的 Firebase 问题。你可能会看到完整的代码here。
-
使用 ProGuard 的 Firebase Firestore 数据库是否有与使用实时数据库时类似的配置,如 Configure Proguard 部分所述?