【发布时间】:2023-03-31 19:07:01
【问题描述】:
使用服务帐户访问 Google Play Developer API 时出现以下错误:
用于调用 Google Play Developer API 的项目 ID 尚未在 Google Play Developer Console 中链接。
服务帐户电子邮件和.p12 文件是使用APIs&Auth -> Credentials 中的服务帐户选项生成的。 Google Play Developer API 中的应用程序使用 google 文档中提到的项目 ID 链接到项目。
但是,当我尝试使用 Publishing API 时,我仍然收到此错误。我正在寻找解决此错误的方法,以及使用 Google Publishing API for Java 客户端使用 Google Play Developer API 发布 APK 的分步过程。我正在使用androidpublisher_v2_public。
【问题讨论】:
标签: google-api google-api-client google-api-java-client