Open renat473 opened 1 year ago
help @muhsin-k
Can you check google-services.json
file was added or not?
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.
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.
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.
Get more help at https://help.gradle.org
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.
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.
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.
Get more help at https://help.gradle.org
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.
hello @muhsin-k
Do you have any other suggestions I can check out?
@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.
and the first project, I never got to do some kind of build.
Is there any minimum application configuration to be used @muhsin-k ?
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
any tips on what i can try @muhsin-k ?
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](https://user-images.githubusercontent.com/1757167/222930113-d2d82a18-0e38-4a4d-8228-243989acd8e7.png)