Open PowerShell and run this command:
[Convert]::ToBase64String([IO.File]::ReadAllBytes("app\android\app\google-services.json")) | Set-ClipboardThis will copy the encoded string to your clipboard.
Alternative (if above doesn't work):
$bytes = [System.IO.File]::ReadAllBytes("app\android\app\google-services.json")
$base64 = [System.Convert]::ToBase64String($bytes)
$base64 | Set-Clipboard
Write-Host "Copied to clipboard!"-
Go to: https://github.com/DevelopersCoffee/airo/settings/secrets/actions
-
Click: "New repository secret" (green button)
-
Enter:
- Name:
GOOGLE_SERVICES_JSON - Value: Press
Ctrl+Vto paste from clipboard
- Name:
-
Click: "Add secret" (green button)
-
Click on the failed workflow run (the one with the red X)
-
Click: "Re-run all jobs" button (top right)
-
Wait ~15-20 minutes for the build to complete
Once you add the secret and re-run the build, it should succeed!
Option 1: Use Python
import base64
with open('app/android/app/google-services.json', 'rb') as f:
encoded = base64.b64encode(f.read()).decode()
print(encoded)Option 2: Use Online Tool
- Go to: https://www.base64encode.org/
- Upload
app/android/app/google-services.json - Click "Encode"
- Copy the result
Option 3: Manual Copy
- Open
app/android/app/google-services.jsonin a text editor - Copy the entire contents
- Go to: https://www.base64encode.org/
- Paste the contents
- Click "Encode"
- Copy the result
After adding the secret:
- ✅ Secret name is exactly:
GOOGLE_SERVICES_JSON(all caps, no spaces) - ✅ Secret value is the base64-encoded string (very long, starts with something like
ewogICJ...) - ✅ You clicked "Add secret"
- ✅ You re-ran the failed workflow
After re-running the workflow with the secret added:
- ✅ Android build succeeds
- ✅ APK is created
- ✅ Release is published
- ✅ Download link works
If you're still stuck, check:
- GitHub Actions logs for specific error messages
- Make sure the secret name is exactly
GOOGLE_SERVICES_JSON - Make sure you re-ran the workflow after adding the secret
Quick Links:
- Add Secret: https://github.com/DevelopersCoffee/airo/settings/secrets/actions
- View Actions: https://github.com/DevelopersCoffee/airo/actions
- View Releases: https://github.com/DevelopersCoffee/airo/releases