DocumentationPublishing
Publishing your Android app to Google Play
Get your Android app onto Google Play through Phoros: set up your upload key and a Play publishing key, enter them once, then publish with a click.
This guide walks you through publishing your app to **Google Play** through Phoros. You do the setup once; after that, every new version goes out with a single click. You'll set up two things: an **app signing key** (so Google trusts the app is really yours) and a **Google Play publishing key** (so Phoros can upload on your behalf). Then you enter both in Phoros and do one manual first upload that Google requires. > Your Google Play Developer account needs to be active (a one-time $25 registration) before you start. --- ## Step 1: Your app signing key (the upload keystore) Google Play uses **Play App Signing**: Google securely holds your app's real signing key, and you sign each upload with an **upload key**. That upload key lives in a **keystore** file. **You have two easy options:** - **Let Phoros create one for you (simplest).** If you don't already have a keystore, leave the App Signing slot empty. Phoros signs your build with a managed upload key, and you can add your own later. Nothing to do here. - **Use your own keystore.** If you already have a `.keystore` / `.jks` file (or want to create one), you'll provide four things: the **keystore file**, the **key alias**, the **keystore password**, and the **key password**. ### Creating your own keystore (optional) If you'd like your own upload key, generate one on your computer with Java's `keytool` (included with the Java JDK). In a terminal, run: ``` keytool -genkey -v -keystore upload-keystore.jks -alias upload -keyalg RSA -keysize 2048 -validity 10000 ``` - It asks you to **set a keystore password** (and you can use the same value for the key password, which is common and fine). - `upload` is your **key alias**: the named key inside the file. You can change it; just remember what you chose. - It asks for some name/organization details. Fill them in; they don't affect publishing. - The result is a file named **`upload-keystore.jks`**. Keep it and its passwords somewhere safe: you'll reuse the same upload key for every future version. --- ## Step 2: Your Google Play publishing key (the service-account .json) This is the part most people find fiddly the first time, so here's every click. You'll **create a "service account"** (a robot user from Google Cloud), **download its key file**, and **let that robot publish to your Play account**. About ten minutes, once. > **Good news:** older guides say you must "link a Google Cloud project" to your Play account first. **Google removed that requirement**, so skip it. You still create the service account **inside** a Cloud project (below), but you no longer **link** the project to Play. ### Part A: Create the service account (in Google Cloud) 1. Go to the **Google Cloud Console** at **console.cloud.google.com**, signed in with the **same Google account** that has access to your Play Console. 2. At the top, make sure a **project** is selected. No project yet? Click the project dropdown and choose **New Project**, name it (e.g. "App Publishing"), and create it. Any project works; it's just a home for the service account. 3. In the left menu, open **IAM & Admin**, then **Service Accounts**. 4. Click **+ Create service account**. 5. Give it a name (e.g. "Phoros Play Publisher"). Google fills in an email address automatically. Click **Create and continue**. 6. The "Grant this service account access to project" step is **optional, so skip it.** Click **Continue**, then **Done**. (The permission that matters is granted in the Play Console, in Part C.) Your service account now appears with an **email address** ending in **`…gserviceaccount.com`**. You'll need that email in Part C. ### Part B: Download its key file (the .json) 1. In the Service Accounts list, **click the email address** of the account you just created. 2. Open the **Keys** tab. 3. Click **Add key**, then **Create new key**. 4. Choose **JSON**, then **Create**. 5. The key file **downloads right away**: a small `.json` file. **Save it somewhere safe immediately.** > **It downloads only once.** Google won't let you download this file again. If you lose it, come back to the **Keys** tab, delete the old key, and **Create new key** again (then update it in Phoros). ### Part C: Let it publish to your Play account The key file does nothing on its own. This last part invites the robot user into your Play account and gives it permission to publish. 1. Open the **Google Play Console** at **play.google.com/console**. 2. In the left menu, go to **Users and permissions**. 3. Click **Invite new users**. 4. In **Email address**, paste the service account's **`…gserviceaccount.com`** address from Part A. 5. Set its permissions. This is the part to get right: - **For full publishing:** on the **Account permissions** tab, turn on **"Release to production, exclude devices, and use Play App Signing."** - **To start safely with testing only:** instead turn on **"Release apps to testing tracks"** and **"Manage testing tracks and edit tester lists."** - Grant these **account-wide** (Account permissions tab) or limit them to **just this app** (App permissions tab). 6. Click **Invite user**. That's the whole flow. Hand the `.json` to Phoros in Step 3, and you never think about this again. > **Snags people hit the first time:** > - **"Don't I need to link a Cloud project?"** No. Google retired that step. > - **Granting too little permission.** "View app information" alone won't publish: it needs one of the **Release** permissions above. > - **A publish fails right after you grant access.** Permission changes can take a few minutes to take effect. If your first publish errors immediately, wait a few minutes and retry. --- ## Step 3: Enter your credentials in Phoros Open your app's **Package & Ship** settings and find the **Google Play** section. Everything you save is **write-only**: once stored, Phoros never shows the values again. ### App signing (only if you're using your own keystore) 1. In **Keystore File**, upload your `.keystore` / `.jks` file. 2. In **Key Alias**, type the alias (e.g. `upload`). 3. Type your **Keystore Password** and **Key Password**. They store the moment you finish typing and clear from the form. (Skipping this? That's fine. Phoros signs with a managed upload key until you add your own.) ### Google Play publishing 1. In **Service Account Key (.json)**, upload the `.json` key file from Step 2. 2. It stores on upload, and you'll see **"Configured ✓"** with the date. Once a credential is saved, a **Test Connection** button appears beside it. Use it to confirm Phoros can reach Google Play with what you entered. --- ## Step 4: Your first upload (one time, per app) Google requires the **first release** of a brand-new app to be uploaded by hand. After this, every release is automatic. 1. In the **Play Console**, create your app (name + default language). 2. In Phoros, click **Build** to package your app, then download the build file. 3. Upload that file once, by hand, to a Play Console release (the **Internal testing** track is perfect for this). This is a Google rule for brand-new apps: it can't be skipped or automated. But it's the **only** time you'll do it. --- ## After setup: one click, every time 1. **Build**: Phoros packages your Android app. 2. **Publish**: Phoros sends the signed build straight to Google Play on your behalf. **Build, publish, done.** Verified against Google's current documentation (June 2026): the project-link requirement is retired (Google Play Developer API "Getting Started"); service-account keys are created and downloaded in the Google Cloud Console (IAM & Admin, then Service Accounts, then Keys); publishing permission is granted in the Play Console (Users and permissions). Keystore generation follows the standard `keytool` command for a Play App Signing upload key.