Expo build errors with no hint on what makes it fail

I am trying to build android apk for an expo application but the build just fails without any error. Just says “Build failed”. However the app runs successfully with no errors or warnings on expo start . On running expo diagnostics I get the following
Expo CLI 3.27.4 environment info:
OS: Windows 10 10.0.18362
Node: 12.16.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
Android SDK:
API Levels: 19, 20, 21, 22, 26, 27, 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-21 | Intel x86 Atom, android-21 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom
Android NDK: 19.0.5232133
Android Studio: Version AI-182.5107.16.33.5199772
expo: ^38.0.8 => 38.0.9
react: 16.11.0 => 16.11.0
react-native: https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz => 0.62.2
react-navigation: ^4.3.7 => 4.4.0
Expo Workflow: managed

Below is my app.json

  "expo": {
    "name": "Ride App",
    "description": "Taxi Booking App",
    "slug": "Ride",
    "privacy": "public",
    "platforms": [
    "notification": {
      "icon": "./assets/images/push_notification.png"
    "version": "1.3",
    "orientation": "portrait",
    "icon": "./assets/images/appIcon.png",
    "splash": {
      "image": "./assets/images/splash.png",
      "resizeMode": "cover",
      "backgroundColor": "#ffffff"
    "updates": {
      "fallbackToCacheTimeout": 0
    "assetBundlePatterns": [
    "ios": {
      "supportsTablet": true,
      "usesAppleSignIn": true,
      "bundleIdentifier": "com.rideapp.rideapp",
      "infoPlist": {
        "NSLocationWhenInUseUsageDescription": "This app uses the location to find the Cabs near you.",
        "NSCameraUsageDescription": "This app uses the camera to take your profile picture.",
        "NSPhotoLibraryUsageDescription": "This app uses Photo Library for uploading your profile picture.",
        "UIBackgroundModes": [
      "config": {
        "googleMapsApiKey": "xxx",
        "googleSignIn": {
          "reservedClientId": "xxx"
      "googleServicesFile": "./GoogleService-Info.plist",
      "buildNumber": "1.3"
    "android": {
      "package": "com.rideapp.rideapp",
      "versionCode": 13,
      "permissions": [
      "googleServicesFile": "./google-services.json",
      "config": {
        "googleMaps": {
          "apiKey": "xxx"
      "useNextNotificationsApi": true

      "googlemapkey": "xxx",
      "cloud_function_server_url": "https://us-central-ride-global.cloudfunctions.net",
      "iosStandaloneAppClientId": "xxx",
      "androidStandaloneAppClientId": "xxx"

Please advice or give hint on what to do

Parsing json file: /app/turtle/workingdir/android/sdk38/android-shell-app/app/google-services.json
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:processReleaseGoogleServices'.
[stderr] > No matching client found for package name '***********'
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 40s

Did you check the logs? Your google-services file is invalid.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.