Giter VIP home page Giter VIP logo

Comments (5)

rockiedo avatar rockiedo commented on July 30, 2024

Hi AdelBou,

This issue is caused by the missing google-service.json file. This file is generated by Firebase and it cannot be shared (you can imagine this file as the keystore file of an APK). However, if you notice, there is a server folder inside this project, which contains several .json file. These files can be imported by Firebase to generate a new database. And then you can generate a new google-service.json file to import to your project.

Hope this help.

from bookdash-android-app.

riggaroo avatar riggaroo commented on July 30, 2024

@dodaithach is correct.
Please generate your own google-services.json file. @AdelBou

from bookdash-android-app.

Okezie avatar Okezie commented on July 30, 2024

Am having the same issue even though i have generated my own google-services.json file and pasted in my project. It compiles and crash with the error report "Default FirebaseApp is not initialized in this process org.bookdash.android.qa. Make sure to call FirebaseApp.initializeApp(Context) first." Any help thank you

from bookdash-android-app.

samsnook avatar samsnook commented on July 30, 2024

I'm having the same issue too. I downloaded the google-services.json file from Firebase and pasted into the app folder of the Project. Checked the package name and application Id build.gradle and Android Manifest - and they are identical to the google-services.json package_name.

Error:FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processMockDebugGoogleServices'.

No matching client found for package name 'org.bookdash.android.qa'

BUILD FAILED in 0s

from bookdash-android-app.

samsnook avatar samsnook commented on July 30, 2024

I solved it by deleting out lines 77 to 84 in the build.gradle (Project:bookdash-android-app-master).

The lines I deleted out were:
mock {
dimension "env"
applicationIdSuffix ".qa"
}
qa {
dimension "env"
applicationIdSuffix ".qa"
}

Hope this works for you!

from bookdash-android-app.

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.