Download generated APKs using the Play Developer Publishing API

You can download all APKs that Google Play generated from an app bundle you've uploaded to Play Console using the Generated APKs feature in the Google Play Developer API.

How to use generated APKs

A typical publishing workflow which includes downloading generated APKs before they are released on any track would be the following:

  1. Create a new edit, by calling Edits: Insert and specifying the app you want to modify.
  2. Upload a bundle by calling Edits.bundles: upload.
  3. Assign the bundle to a track by calling Edits.tracks: update. To avoid releasing the new version to end users at this stage, set the status of the new release to draft.
  4. Commit the edit.
  5. Download the APKs generated from the bundle that you uploaded in step 2 using the Generated APKs methods in the API.
  6. Process your downloaded APKs.
  7. Create a new edit as you did in step 1.
  8. Promote the draft release to a staged or full rollout by calling Edits.tracks: update.
  9. Commit the edit.