Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果有人以前这样做过,你能告诉我你把 google-service.json 放在哪里了吗?android依赖,你装了吗?在android模块中还是在common模块中?在IOS上我也不知道怎么上手。
没有任何变化,您的 google 服务文件将像往常一样进入您的 android 模块/ios 模块(即,如果不使用 KMM,您将按照相同的方式存储它们)并且所有依赖项也将照常设置。
如果你想FirebaseCrashlytics.getInstance()从公共代码中调用任何东西,那么你有两个选择:
FirebaseCrashlytics.getInstance()