Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issus with build android studio 3.0 #34

Closed
MustaphaBounoua opened this issue Sep 13, 2017 · 5 comments
Closed

issus with build android studio 3.0 #34

MustaphaBounoua opened this issue Sep 13, 2017 · 5 comments

Comments

@MustaphaBounoua
Copy link

Information:Gradle tasks [:app:generateMockDebugSources, :app:generateMockDebugAndroidTestSources, :app:mockableAndroidJar, :fabbutton:generateDebugSources, :fabbutton:generateDebugAndroidTestSources, :fabbutton:mockableAndroidJar]

Error:Execution failed for task ':app:processMockDebugGoogleServices'.

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

@rockiedo
Copy link

rockiedo commented Sep 23, 2017

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.

@riggaroo
Copy link
Member

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

@Okezie
Copy link

Okezie commented Jun 17, 2018

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

@samsnook
Copy link

samsnook commented Oct 8, 2018

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

@samsnook
Copy link

samsnook commented Oct 8, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants