Error Remote Build when import cordova plugin fcm



  • Hi guys,

    I have error message when build my project as bellow

     What went wrong:
    Execution failed for task ':processDebugGoogleServices'.
    > File google-services.json is missing. The Google Services Plugin cannot function without it. 
       Searched Location: 
      /private/tmp/monaca/586cbf4e803451aa5c1ee79b/project/platforms/android/src/debug/google-services.json
      /private/tmp/monaca/586cbf4e803451aa5c1ee79b/project/platforms/android/google-services.json
    

    I tried to add google-services.json in res folder but still doesn’t work.


  • Monaca

    Are you using any external Cordova plugin? If yes, which one?



  • @Andi

    I have the same problem.

    I’m using p plugin: https://github.com/fechanique/cordova-plugin-fcm

    This is the error:
    Remove working directories …
    Build Error: Error: Sandbox Exec Error: [Error: cordova-plugin-fcm: You have installed platform android but file ‘google-services.json’ was not found in your Cordova project root folder.
    ]


Log in to reply