eas build --profile preview --platform android is faild build

Before posting your question, make sure you’ve read the documentation for both EAS Build & Submit.

In your post, please share:

  • Whether you are bare or managed workflow
  • Your eas-cli version:~46.0.9
  • What you have tried so far

i am trying to eas build --profile preview.
that command is
eas build --profile preview --platform android
but it is faild to build and shows fallowing error

Build failed: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

info Done writing bundle output

info Done writing sourcemap output

info Copying 78 asset files

info Done copying assets

> Task :app:generatePackageList

> Task :app:preBuild

> Task :app:preReleaseBuild

> Task :app:compileReleaseAidl NO-SOURCE

> Task :app:generateReleaseBuildConfig

> Task :app:compileReleaseRenderscript NO-SOURCE

> Task :app:javaPreCompileRelease

> Task :app:mergeReleaseShaders

> Task :app:compileReleaseShaders NO-SOURCE

> Task :app:generateReleaseAssets UP-TO-DATE

> Task :app:checkReleaseAarMetadata

> Task :app:mergeReleaseAssets

> Task :app:copyReleaseBundledJs

> Task :app:generateReleaseResValues

> Task :app:generateReleaseResources

> Task :app:processReleaseGoogleServices FAILED

Parsing json file: /home/expo/workingdir/build/android/app/google-services.json

w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.

Please consult deprecation warnings for more details.

671 actionable tasks: 671 executed

[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 'com.mymyndmymental'

[stderr] * Try:

[stderr] > Run with --stacktrace option to get the stack trace.

[stderr] > Run with --info or --debug option to get more log output.

[stderr] > Run with --scan to get full insights.

[stderr] * Get more help at https://help.gradle.org

[stderr] BUILD FAILED in 7m 2s

Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

can some on help me where i can see the errors.


This sounds like you’re referencing a google-services.json file that does not contain your package name. If you are, for instance, including this for FCM notifications support, head over to the Firebase console, register an app with the correct package name, and download the google-services.json file again.

yes thank you i got it

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