Abonnementinformationen können nicht von der Google Play Android Developer API abgerufen werden

Ich versuche, mithilfe der Google APIs-Clientbibliothek für Java Informationen zu den in meiner Android-App gekauften Benutzerabonnements abzurufen. So mache ich es jetzt:

HttpTransport HTTP_TRANSPORT = new NetHttpTransport();
JsonFactory JSON_FACTORY = new JacksonFactory();

GoogleCredential credential = new GoogleCredential.Builder().setTransport(HTTP_TRANSPORT)
                    .setJsonFactory(JSON_FACTORY)
                    .setServiceAccountId(GOOGLE_CLIENT_MAIL)
                    .setServiceAccountScopes("https://www.googleapis.com/auth/androidpublisher")
                    .setServiceAccountPrivateKeyFromP12File(new File(GOOGLE_KEY_FILE_PATH))
                    .build();

Androidpublisher publisher = new Androidpublisher.Builder(HTTP_TRANSPORT, JSON_FACTORY, credential).
                    setApplicationName(GOOGLE_PRODUCT_NAME).
                    build();

Androidpublisher.Purchases purchases = publisher.purchases();
Get get = purchases.get("XXXXX", subscriptionId, token);
SubscriptionPurchase subscripcion = get.execute(); //Exception returned here

GOOGLE_CLIENT_MAIL ist die E-Mail-Adresse von API Access aus der Google-Konsole.GOOGLE_KEY_FILE_PATH ist die p12-Datei, die vom API-Zugriff heruntergeladen wurde.
GOOGLE_PRODUCT_NAME ist der Produktname aus den Markeninformationen.
In der Google APIS Console ist der Dienst "Google Play Android Developer API" aktiviert.

Was ich bekomme ist:

{
  "code" : 401,
  "errors" : [ {
    "domain" : "androidpublisher",
    "message" : "This developer account does not own the application.",
    "reason" : "developerDoesNotOwnApplication"
  } ],
  "message" : "This developer account does not own the application."
}

Ich bedanke mich sehr für Ihre Hilfe bei diesem Problem ...

Antworten auf die Frage(5)

Ihre Antwort auf die Frage