A Google Play JSON key is needed to deploy your app to the Google Play Store.
Accessing the Google Cloud Platform
Login to the Google Play Console, then select 'Setup' > 'API Access'.
Click the 'Learn how to create service accounts' button in the Service Accounts section.
Select the 'Google Cloud Platform' link in the pop-up modal.
Creating a service account
Once you have been redirected to the Google Cloud Platform, select '+ Create Service Account'.
Enter the following:
Service Account Name: Radioco
Service Account ID: Do not alter, leave as is
Service Account Description: Leave blank
Then create and continue.
For the role, select 'Owner', and then 'Done'.
Getting the JSON File
Back in the Service Accounts, select the new account.
Choose 'Keys'.
Select 'Add Key', then 'Create new key' in the drop-down menu.
Select 'JSON' and 'Create'.
A JSON file will download to your computer. Downloaded JSON file.
The JSON file should look something like this:
{
"type": ""...",
"project_id": "...",
"private_key_id": "...",
"private_key": "...",
"client_email": "...",
"client_id": "...",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "...",
"client_x509_cert_url": "..."
}
Adding the Service Account as a User
Once you have downloaded your JSON File head back to 'Setup' > 'API Access' on the Google Play Console (this is the page from earlier just before we were redirected to the Google Cloud Platform).
Once there in the Credentials > Service accounts section, you'll see the service account you just created. You now need to copy this email address.
Once you have copied the email address head to 'Users and permissions' then choose 'Invite new user'
On the page that opens, paste the copied email address in to the 'Email address' Section and leave 'Access expiry' unchecked. Then choose 'Account permissions', check 'Admin (All permissions)' then 'Invite user'.
Click 'Send invite' on the confirmation pop up.
Then in the 'Users and permissions' section the service account email address should be there with an active status and 'Never expires' underneath.
Uploading to the App Builder
In the app builder, upload your JSON file you previously downloaded.
Submit for development, but if you're not ready then save and exit.