Coder Social home page Coder Social logo

Comments (5)

CatchABus avatar CatchABus commented on May 25, 2024 8

Fixed by adding google-services.json into App_Resources/src directory.

from firebase.

nikoTM avatar nikoTM commented on May 25, 2024 1

@triniwiz this is not documented anywhere as far as I can tell.

EDIT: Never mind, it's here https://github.com/NativeScript/firebase/blob/main/packages/firebase-core/README.md#usage

from firebase.

HundefraN avatar HundefraN commented on May 25, 2024

make sure that the file name is 'google-services.json'

from firebase.

jeroenzwart avatar jeroenzwart commented on May 25, 2024

I have the same issue.

Execution failed for task ':app:processDebugGoogleServices'.
File google-services.json is missing. The Google Services Plugin cannot function without it.
 Searched Location:
/app/platforms/android/app/src/debug/google-services.json
/app/platforms/android/app/src/google-services.json
/app/platforms/android/app/src/Debug/google-services.json
/app/platforms/android/app/google-services.json

I have placed the JSON file as App_Resources/Android/src/google-services.json with correct filename. Or as suggested here above as App_Resources/src/google-services.json, but still the same error will happen.

By manually copying to the last folder (app/platforms/android/app) the following error will happen;

Execution failed for task ':app:mergeDebugResources'.
app/platforms/android/app/src/main/res/src/google-services.json: Error: The file name must end with .xml

However, if I copy it to the first folder (/app/platforms/android/app/src/debug/) then the build will continue.

from firebase.

justintoth avatar justintoth commented on May 25, 2024

Fixed by adding google-services.json into App_Resources/src directory.

Note that the file should be in App_Resources/Android/src, not App_Resources/src.

from firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.