我正在嘗試使用適用于 Java 的 Google API 客戶端庫來獲取有關(guān)在我的 Android 應(yīng)用程序中購買的用戶訂閱的信息。然后我得到這個錯誤: { "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." }我正在嘗試這些步驟:轉(zhuǎn)到https://console.cloud.google.com創(chuàng)建項(xiàng)目(或選擇現(xiàn)有項(xiàng)目)創(chuàng)建具有 Pub/Sub 管理員角色的服務(wù)帳戶轉(zhuǎn)到https://console.cloud.google.com/apis/library并搜索“Google Play Android Developer API”啟用該 API前往https://play.google.com/apps/publish轉(zhuǎn)到設(shè)置 > 開發(fā)者帳戶 > API 訪問鏈接您在步驟 2 中創(chuàng)建的項(xiàng)目將顯示您在步驟 3 中創(chuàng)建的服務(wù)帳戶在 Play 控制臺中向應(yīng)用授予具有 Finance 權(quán)限的訪問權(quán)限等待至少 24 小時以使更改生效。
添加回答
舉報
0/150
提交
取消