相关疑难解决方法(0)

错误:"用于调用Google Play Developer API的项目ID尚未在Google Play开发者控制台中关联."

使用服务帐户访问Google Play Developer API时出现以下错误:

用于调用Google Play Developer API的项目ID尚未在Google Play开发者控制台中进行链接.

服务帐户电子邮件和.p12文件是使用服务帐户选项生成的APIs&Auth -> Credentials.Google Play Developer API中的应用程序使用google文档中提到的项目ID链接到项目.

但是,当我尝试使用Publishing API时,我仍然收到此错误.我正在寻找这个错误的解决方案以及使用Google Publishing API为Java客户端使用Google Play Developer API发布APK的一步一步的流程.我在用androidpublisher_v2_public.

google-api google-api-java-client google-api-client

53
推荐指数
3
解决办法
3万
查看次数

获取android订阅状态,403失败

在尝试获取Android应用内订阅状态(有效期限)时,我收到以下错误消息:

{
 "error": {
  "errors": [
   {
    "domain": "androidpublisher",
    "reason": "projectNotLinked",
    "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
   }
  ],
  "code": 403,
  "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
 }
}
Run Code Online (Sandbox Code Playgroud)

该网址为:https://www.googleapis.com/androidpublisher/v2/applications/[packageName]/inapp/ [productId]/purchases/[purchase_token]?access_token=[access_token]

它说项目ID没有链接.我做了以下事情:

1. Create the project in Google Developer Console.
2. …
Run Code Online (Sandbox Code Playgroud)

android google-api subscription in-app

10
推荐指数
2
解决办法
1万
查看次数

在Google API v2中,为什么会出现错误"用于调用Google Play Developer API的项目ID尚未链接"?

当我使用Google API v2时,为了获得一个inapp列表,我在进行API调用时遇到以下错误:

{
 "error": {
  "errors": [
   {
    "domain": "androidpublisher",
    "reason": "projectNotLinked",
    "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
   }
  ],
  "code": 403,
  "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
 }
}
Run Code Online (Sandbox Code Playgroud)

然后我研究了这个错误,最后看到了这个页面,这个页面以及这个页面上的建议.我跟着并仔细检查了项目在那里的链接方式,但没有帮助.

这就是我做的......

在Google Developer Console中:

  1. 使用现有项目.
  2. 去了API&auth> API.
  3. 确保"Google …

php google-api google-play google-api-php-client

7
推荐指数
1
解决办法
7404
查看次数