android - 权限问题 Google Play

标签 android in-app-purchase google-play

我在使用 androidpublisher.inapppurchases.get

时遇到问题

我的项目只是根据https://code.google.com/p/google-api-java-client/wiki/OAuth2#Service_Accounts在我迁移到新的 Google Play 帐户之前它运行良好。所以现在当我执行请求服务器到服务器时,我收到了这个响应。

{
  "code" : 401,
  "errors" : [ {
    "domain" : "androidpublisher",
    "message" : "The current user has insufficient permissions to perform the requested operation.",
    "reason" : "permissionDenied"
  } ],
  "message" : "The current user has insufficient permissions to perform the requested operation."
}

任何人都熟悉此响应,因为在 google 文档中对此没有任何线索。

最佳答案

解决了在 google play 设置中将用户服务帐户电子邮件地址 xxxxx@developer.gserviceaccount.com 添加为管理员用户的问题。

关于android - 权限问题 Google Play,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24432825/

相关文章:

iphone - App Store审核多种应用内购买方法

ios - 应用内购买产品名称变更

android - 如何将 APK 发布到 Google 开发者控制台

java - 无法连接到 Google Play 服务;获取取消状态代码

android - 如何在 Google Play 上使用测试帐号? GooglePlay 始终将我视为购买者

android - 搜索未链接到本地​​ Android SDK 文档的正确位置

android - ViewPager 中的嵌套 fragment 的高度和宽度为零

ios - 应用内购买在一台设备上可用,但在另一台设备上不可用

java - 使用监听器的正确方法是什么?

android - RocksDB IO错误: lock db/LOCK: No locks available