Hi @all
i want to add Android push notification (GCM) to my app.
i have update my .unoproj file by adding some new attributes
"Android": {
"GooglePlay": {
"SenderID": "007XXX"
}
},
"Firebase": {
"GoogleServices": {
"Android": "google-services.json"
}
},
After added this new line on my unoproj file and trying to preview on my Android device, i have this issue
Generating code and data 10.00 s
Building android app (preview)
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:
C:\Users\myPath\Documents\Fuse X\PAYMEQUICK\build\android\preview\app\src\nullnull\google-services.json
C:\Users\myPath\Documents\Fuse X\PAYMEQUICK\build\android\preview\app\src\debug\google-services.json
C:\User\smyPath\Documents\Fuse X\PAYMEQUICK\build\android\preview\app\src\nullnullDebug\google-services.json
C:\Users\myPath\Documents\Fuse X\PAYMEQUICK\build\android\preview\app\src\nullnull\debug\google-services.json
C:\Users\myPath\Documents\Fuse X\PAYMEQUICK\build\android\preview\app\src\debug\nullnull\google-services.json
C:\Users\myPath\Documents\Fuse X\PAYMEQUICK\build\android\preview\app\google-services.json
BUILD FAILED in 2s
Using C:\Users\Dell\AppData\Local\Android\sdk\cmake\3.10.2.4988404
This app only has 32-bit [armeabi-v7a] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:checkDebugManifest
> Task :app:generateDebugBuildConfig
> Task :app:mainApkListPersistenceDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:processDebugGoogleServices FAILED
> Task :app:javaPreCompileDebug
6 actionable tasks: 6 executed
(unknown): E0200: android build failed
?: Error E0200: android build failed
> 3.05 s
Build failed in 19.90 seconds
3 warnings
1 error
and one of the line who capture my attention is this one
> File google-services.json is missing. The Google Services Plugin cannot function without it.
the file google-service.json is located on the root folder of my project
need help please.
thanks