vacxe / google-play-cli-kt Goto Github PK
View Code? Open in Web Editor NEWCLI tool for publish and management application in Google Play Console
License: Apache License 2.0
CLI tool for publish and management application in Google Play Console
License: Apache License 2.0
Hi, I'm trying to use the CLI to upload an AppBundle to the Play Store. I'm using the Docker image with $PWD
mounted to /config
and get the following error:
$ export PLAYSTORE_SERVICE_ACCOUNT_JSON_FILE=<redacted>
$ export APP_PACKAGE_NAME=<redacted>
$ google-play-cli apk list
{"kind":"androidpublisher#apksListResponse"}
$ edit_id=$(google-play-cli edit create)
$ google-play-cli bundles upload --edit-id $edit_id --bundle app.aab
Exception in thread "main" com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
PUT https://www.googleapis.com/upload/androidpublisher/v3/applications/<redacted>/edits/<redacted>/bundles?ackBundleInstallationWarning=false&uploadType=resumable&upload_id=<redacted>
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Media type 'application/vnd.android.package-archive' is not supported. ",
"reason" : "badRequest"
} ],
"message" : "Media type 'application/vnd.android.package-archive' is not supported. ",
"status" : "INVALID_ARGUMENT"
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:150)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:432)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
at com.github.vacxe.googleplaycli.actions.Bundles$DefaultImpls.bundlesUpload(Bundles.kt:25)
at com.github.vacxe.googleplaycli.PlayStoreApi.bundlesUpload(PlayStoreApi.kt:14)
at com.github.vacxe.googleplaycli.Commands$Bundles$Upload.run(Commands.kt:33)
at com.github.vacxe.googleplaycli.Commands$Bundles$Upload.run(Commands.kt:28)
at com.github.vacxe.googleplaycli.core.BaseCommand.run(BaseCommand.kt:52)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:154)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:162)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:162)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:252)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:249)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:267)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:290)
at com.github.vacxe.googleplaycli.PlayStoreCliKt.main(PlayStoreCli.kt:89)
Is there any workaround for this?
See: Dokka
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.