Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] - :app:processDebugGoogleServices #646

Open
renat473 opened this issue Mar 4, 2023 · 8 comments
Open

[Error] - :app:processDebugGoogleServices #646

renat473 opened this issue Mar 4, 2023 · 8 comments
Assignees

Comments

@renat473
Copy link

renat473 commented Mar 4, 2023

hello everyone, I'm having problems trying to build and returning the following error message :app:processDebugGoogleServices I thought it could be the google-service.json file but it's in the correct directory oriented by the application.
Version Android
image

@renat473
Copy link
Author

help @muhsin-k

@muhsin-k
Copy link
Member

Can you check google-services.json file was added or not?
CleanShot 2023-03-14 at 10 57 26

@renat473
Copy link
Author

renat473 commented Mar 14, 2023

Yes, one of the main items I checked was the google-services.json file

Task :app:processDebugGoogleServices FAILED
Parsing json file: C:\Users\Admin\Desktop\chatwoot-mobile-app\android\app\google-services.json

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.5.1/userguide/command_line_interface.html#sec:command_line_warnings
58 actionable tasks: 2 executed, 56 up-to-date

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

Missing project_info object

  • Try:

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.
==============================================================================

2: Task failed with an exception.

  • What went wrong:
    java.lang.StackOverflowError (no error message)

  • Try:

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.
==============================================================================

BUILD FAILED in 5m 7s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

Missing project_info object

  • Try:

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.
==============================================================================

2: Task failed with an exception.

  • What went wrong:
    java.lang.StackOverflowError (no error message)

  • Try:

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.
==============================================================================

BUILD FAILED in 5m 7s

at makeError (C:\Users\Admin\Desktop\chatwoot-mobile-app\node_modules\execa\index.js:174:9)
at C:\Users\Admin\Desktop\chatwoot-mobile-app\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (C:\Users\Admin\Desktop\chatwoot-mobile-app\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\Admin\Desktop\chatwoot-mobile-app\node_modules\@react-native-community\cli\build\index.js:142:9)

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

image

@renat473
Copy link
Author

hello @muhsin-k

Do you have any other suggestions I can check out?

@muhsin-k
Copy link
Member

@renat473 It Seems like some build issues related to RN. Can you check if other react native projects are working or not? Try to scaffold a new RN project.

@renat473
Copy link
Author

and the first project, I never got to do some kind of build.

Is there any minimum application configuration to be used @muhsin-k ?

@renat473
Copy link
Author

OS: Windows 10 10.0.19044
CPU: (4) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
Memory: 1.81 GB / 7.73 GB
Binaries:
Node: 18.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.3.1 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-213.7172.25.2113.9123335
Visual Studio: Not Found
Languages:
Java: 11.0.16.1
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.6 => 0.70.6
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

@renat473
Copy link
Author

any tips on what i can try @muhsin-k ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants