Only releases with status draft may be created on draft app

Issue

I’m using the Jenkins AndroidAPKUpload plugin.

I have a draft version of an app in the Play store. The app is intended only for internal testing and it will never be released to the public. I assume that means it will be a draft forever.

When I try to upload the APK via the plugin I receive the error “Only releases with status draft may be created on draft app”

Is there a way I can mark my app as draft? A setting in the build.gradle file perhaps?

Solution

I did solve the problem, although to be honest, I don’t remember exactly what I did. I believe I manually uploaded the first APK to the Alpha channel in the Play console. Then I released that version internally. After that I was able to upload automatically from Jenkins.

Answered By – Bryan Deemer

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published