android - 应用程序未配置为通过 Google Play 计费错误
问题描述
我有以下代码允许人们在 android/kotlin 中购买订阅。但是,当人们点击购买年度订阅时,有时他们会收到错误消息Application not configured for billing through Google Play
有时我收到错误“从服务器检索时出错”
这是代码https://gist.github.com/naissa12/2e52e4ac40c1f7143b44e92923913f87
我正在使用 RevenueCats SDK
解决方案
实施 'com.android.billingclient:billing:2.2.0'
推荐阅读
- angular - eslint: rxjs/no-unsafe-takeuntil 问题
- c++ - C++ 元编程来拆分函数参数并将它们一个接一个地传递给另一个函数
- macos - 使用特定的 make 文件“ld: library not found for -lgcrt1.o”时 Mac m1 出错
- excel - VBA脚本将单元格内容范围复制到剪贴板,不带引号
- ios - 使用 Apple 登录 - 无法验证授权授予代码
- node.js - 无法将猫鼬虚拟与打字稿一起使用
- typescript - 严格路径符号数组类型的映射
- apache-spark - PySpark:org.apache.spark.sql.AnalysisException:找不到表或视图
- python - 在 csv 文件中加载带有标签的图像或使用它们的文件名
- mysql - where 子句获取匹配最多 2 个小数的记录