gradle-play-publisher | unofficial release automation Gradle Plugin | Plugin library
kandi X-RAY | gradle-play-publisher Summary
kandi X-RAY | gradle-play-publisher Summary
Gradle Play Publisher (GPP) is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gradle-play-publisher
gradle-play-publisher Key Features
gradle-play-publisher Examples and Code Snippets
Community Discussions
Trending Discussions on gradle-play-publisher
QUESTION
Is there a way to upload new apps to Google Play Console programatically?
I have already used triplet: https://github.com/Triple-T/gradle-play-publisher
And Fastlane: https://docs.fastlane.tools/actions/upload_to_play_store/
To upload new versions of apps that are already uploaded to Google Play Console.
Since I upload new versions AND initial version of new apps, I'd like to know is there's a way to automate upload of new apps. Both fastlane and triplet requires, at least, one previous version already upload manually to play store.
Thx in advance.
...ANSWER
Answered 2021-Jan-19 at 15:44Absolutely, it's possible.
Google Play provides the Publishing API for that exact purpose: https://developers.google.com/android-publisher
To make it simpler, some client libraries in Java and Python have been provided as well, with usage examples: https://developers.google.com/android-publisher/libraries
QUESTION
I am trying to integrate the gradle plugin https://github.com/Triple-T/gradle-play-publisher in version 2.0.0-beta1 to automatically upload a new version of an APK to the PlayStore.
I followed the instructions and created a service account and linked it to my PlayStore account. Then I added my key document (JSON) in the app/build.gradle.
If I call ./gradlew tasks
in my Android project, I now also see the task 'bootstrap', publishApk
,... but when I call e.g. bootstrap
or publishApk
nothing happens.
No Taks does anythink right now :(
When I call ./gradlew -i bootstrap
it says:
Task :app:bootstrap UP-TO-DATE Skipping task ':app:bootstrap' as it has no actions.
Does anyone have any idea where my mistake is?
FYI: I'm trying to do this in Android Studio 3.2.
...ANSWER
Answered 2018-Oct-24 at 07:45Oh damn....
after reading the bug https://github.com/Triple-T/gradle-play-publisher/issues/81 and the corresponding answers until the end i noticed that my release-build has set the property debuggable true
at the moment (due to tests). After removing this the plugin works as expected.
Sorry for the confusion ;)
QUESTION
I am completely new using google-cloud-java.
Trying to do some Speech Recognition
using the google-cloud-speech .
I have written the below code , but there is a problem , i don't know how to specify the credentials so i get the below error, no clue how to do it and searching the web 2 hours now :
...ANSWER
Answered 2018-Jul-01 at 22:47I'm assuming you downloaded the credentials from the Google Cloud Console. They should be saved somewhere on your computer as a file.
You need to set the GOOGLE_APPLICATION_CREDENTIALS
environment variable so that it points directly to that file. Specify a path to that file. For example, if the credentials are called creds.json
in the folder above your current working directory, you can set the environment variable to ../creds.json
. You can also specify an absolute path.
To actually set the environment variable, it's different per operating system. Here's a good post to help with that. If you're using Intellij, you can set it directly in the run configuration.
QUESTION
I have an Android that I deploy to a Google Play alpha track trough a CI server. For the Android versionCode
I make use of the CI build number that I inject into the Gradle script through an environment variable.
This used to work fine; but currently Google Play is not accepting any builds. When I manually trigger a alpha upload build (using the gradle-play-publisher plugin) for Gradle I eventually end up with the following error:
...ANSWER
Answered 2017-May-17 at 17:11Try to change your code to this:
QUESTION
I have created two separate apps using Google Play Developer Console:
- "MyApp" with ID
com.myname.app
(forprod
flavor) - "MyApp Stage" with ID
com.myname.appStage
(forstage
flavor)
I deploy these flavors to the corresponding beta channels using com.github.triplet.play task in gradle.
When I try to install both flavors on the same device, the Google Play gives me error: -505
. If I uninstall the first installed version, then I can successfully install the second one.
As I can see in this tutorial, it should be enough.
Any ideas what's wrong?
Here is my gradle script fragment:
...ANSWER
Answered 2017-Feb-02 at 11:38since you have a content provider in your app, you need to follow this
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-play-publisher
Create a Google Play Service Account
Sign your release builds with a valid signingConfig
Add and apply the plugin
Authenticate GPP
Apply the plugin to each individual com.android.application module where you want to use GPP through the plugins {} DSL:.
GPP includes a bootstrap task that pulls down your existing listing and initializes everything for you. To use it, run ./gradlew bootstrapListing. Note: if you have a pre-existing play folder, it will be reset.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page