Triple-T / 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.
MIT License
4.1k stars 340 forks source link

APK uploaded successfully, but not available on playstore console #1002

Closed sudansh closed 3 years ago

sudansh commented 3 years ago

Describe the bug

I am uploading an apk to internal track. The gradle runs successfully and reports that apk has been uploaded but I can't see that new build in playstore console

How To Reproduce

./gralew ./gradlew uploadReleasePrivateApk Console output. ... Uploading APK: 44% complete Uploading APK: 49% complete Uploading APK: 55% complete Uploading APK: 60% complete Uploading APK: 66% complete Uploading APK: 71% complete Uploading APK: 77% complete Uploading APK: 82% complete Uploading APK: 88% complete Uploading APK: 93% complete Uploading APK: 99% complete

Task :app:uploadDevelopmentReleasePrivateApk APK upload complete Upload successful: link to uploaded apk this opens the playstore and I can install the buidl

Versions

Tasks executed

./gradlew uploadReleasePrivateApk

Expected behavior

The apk is uploaded to internal track and I can see that build in internal testing in playstore console.

Additional context (if a crash, provide stack trace)

Add any other context about the problem here. If this bug is a crash, run the task with --stacktrace to get the full context.

SUPERCILEX commented 3 years ago

The terminology is confusing. You're uploading to the Internal Sharing track which is a completely separate thing from normal publishing. Use ./gradlew publishReleaseApk.

sudansh commented 3 years ago

@SUPERCILEX I meant the internal sharing only. I am unable to view the apk in the Internal track of playstore console

SUPERCILEX commented 3 years ago

Right, internal sharing is not the same as the internal track. uploadReleasePrivateApk does not upload your APK to any track at all: it goes to internal sharing. publishReleaseApk uploads APKs to a track (in your case the internal track).