Error File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it
You need to get the configuration file from the developer's site and paste it in the app level directory of your project.
Update:
Goto
https://console.firebase.google.com/
Select your project
On the left menu, click on settings > project settings
Add an app or download the google-services.json file under the Your Apps section.
Google Services Plugin cannot function without google-services.json
When you add apply plugin: 'com.google.gms.google-services'
inside your app-level build.gradle
it parses configuration information from the google-services.json
file.
You removed google-services.json
file, that's why it is not able to parse
So remove the below line too from your app-level build.gradle
who triggered parsing to make it work again.
apply plugin: 'com.google.gms.google-services'
File google-services.json is missing from module root folder (but it is at the good place ! )
You also need to add these line of codes in Gradle files if you haven't already.
In Module:app_name gradle file, add
apply plugin: 'com.google.gms.google-services'
on top of the file. And in dependencies of the same file, add
compile 'com.google.android.gms:play-services:8.3.0'
Also, in Project:project_name gradle file, add
classpath 'com.google.gms:google-services:2.0.0-alpha2'
in dependencies
Also, try to upload a screenshot of the stack trace if this doesn't repair your problem
File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it
Add multiDexEnabled true in your project app gradle file and check,
defaultConfig {
multiDexEnabled true
}
File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location:
Its because you are using firebase plugin in ionic, correct me if I'm wrong. I had this issue once i was implementing firebase push notification in ionic app. Simply what i did was Copied google-services.json
to below paths
src/app
platforms/android
platforms/android/app
platforms/ios
Then i build my ionic app and it successfully build unsigned apk.
Related Topics
Recyclerview Header and Footer
How to Set Onclicklistener on a Radiobutton in Android
Firebase Analytics Custom Events Params
Android:Loading an Image from the Web with Asynctask
Unsupportedoperationexception: Can't Convert to Dimension: Type=0X1
How to Put Multiple Project_Number/Sender Id in Google-Services.JSON
The Completest Cocos2D-X Tutorial & Guide List
How to Put a Border Around an Android Textview
How to Create a Listview with Rounded Corners in Android
How to Set Different Label for Launcher Rather Than Activity Title
How to Implement Drawerarrowtoggle from Android Appcompat V7 21 Library
This Version of the Application Is Not Configured for Billing Through Google Play
Going to Home Screen Programmatically
Ideal Way to Set Global Uncaught Exception Handler in Android
Error:Execution Failed for Task ':Android:Transformclassesandresourceswithproguardforrelease'