Hello,
I am creating a plugin using the following cordova component
https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin
The problem that is occurring when I generate the apk:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
source/platforms/android/app/src/debug/google-services.json
source/platforms/android/app/src/google-services.json
source/platforms/android/app/src/Debug/google-services.json
source/platforms/android/app/google-services.json
According to the documentation, the config.xml must be configured with the google-services.json element.
How do i solve this in outsystems? Attached the generated log.
Thank you guys!!!
Did you get this solved?
To enable push support for the Android platform you will need to include the google-services.json file.
Hi there,I have the same problem.How to solve this?[ERROR] [Build] -- v --
[ERROR] [Build] The build phase failed to complete!
[ERROR] [Build] Additional information:
[ERROR] [Build] FAILURE: Build failed with an exception.
[ERROR] [Build] Reason: There was an issue generating the app. Some plugins using Google Services aren't correctly configured. Check the plugin documentation to ensure the setup is right.
[ERROR] [Build] * What went wrong:
[ERROR] [Build] Execution failed for task ':app:processDebugGoogleServices'.
[ERROR] [Build] > File google-services.json is missing. The Google Services Plugin cannot function without it.
[ERROR] [Build] Searched Location:
[ERROR] [Build] source/platforms/android/app/src/debug/google-services.json
[ERROR] [Build] source/platforms/android/app/src/google-services.json
[ERROR] [Build] source/platforms/android/app/src/Debug/google-services.json
[ERROR] [Build] source/platforms/android/app/google-services.json
[ERROR] [Build] * Try:
[ERROR] [Build] > Run with --stacktrace option to get the stack trace.
[ERROR] [Build] > Run with --info or --debug option to get more log output.
[ERROR] [Build] > Run with --scan to get full insights.
[ERROR] [Build] > Get more help at https://help.gradle.org.
[ERROR] [Build] BUILD FAILED in 3s
[ERROR] [Build] Command failed with exit code 1: source/platforms/android/gradlew --parallel cdvBuildDebug
[ERROR] [Build] -- ^ --
[INFO] [Build] Application was not successfully generated!Obs.: I don't have an IOS generated app generated in the dev environment. Tks
In my case, the configuration was being done manually in the lifetime of the Extenbility Configuration.