I can't initialize the firebaseFirebaseUI database and authNull Pointer Error in catching data from intentFATAL EXCEPTION: main KotlinNullPointerExceptionButton related issue:Attempt to invoke virtual method on a null object referenceExtending BaseActivity showing null pointer on super.oncreateandroid Oreo Crash error`getResources().getString` generating exceptiongetting error from recylerview when we try to set adapter in recylerviewMy app to know if a file exist in a URL keeps stopingI am trying to connect my Android project to Firebase, real-time database but it always failed. Plase help me find what mistake is

Are "living" organ banks practical?

What risks are there when you clear your cookies instead of logging off?

How would a aircraft visually signal in distress?

How do photons get into the eyes?

Does an ice chest packed full of frozen food need ice?

What can cause the front wheel to lock up when going over a small bump?

Why doesn’t a normal window produce an apparent rainbow?

Can a user sell my software (MIT license) without modification?

Is the term 'open source' a trademark?

Notation of last measure of a song with a pickup measure

How to retract an idea already pitched to an employer?

Quickest way to find characteristic polynomial from a given matrix

What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?

How to make a setting relevant?

From the list of 3-tuples, how can I select tuples which contain one for more nines?

Can you really not move between grapples/shoves?

Trapping Rain Water

Print the string equivalents of a phone number

How were concentration and extermination camp guards recruited?

Should an arbiter claim draw at a K+R vs K+R endgame?

When writing an error prompt, should we end the sentence with a exclamation mark or a dot?

Should I "tell" my exposition or give it through dialogue?

When conversion from Integer to Single may lose precision

Deformation of rectangular plot



I can't initialize the firebase


FirebaseUI database and authNull Pointer Error in catching data from intentFATAL EXCEPTION: main KotlinNullPointerExceptionButton related issue:Attempt to invoke virtual method on a null object referenceExtending BaseActivity showing null pointer on super.oncreateandroid Oreo Crash error`getResources().getString` generating exceptiongetting error from recylerview when we try to set adapter in recylerviewMy app to know if a file exist in a URL keeps stopingI am trying to connect my Android project to Firebase, real-time database but it always failed. Plase help me find what mistake is






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I need to connect to firebase, I did exactly what the firebase documentation told me that why I must've connected to firebase. I put the apply plugin as well, I saw the firebase console and I did every step I needed to do. that my code...



 FirebaseApp.initializeApp(this);

FirebaseDatabase database = FirebaseDatabase.getInstance();

DatabaseReference myRef= database.getReference();

myRef.setValue("teste");


that is my build.code(module)



apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android
compileSdkVersion 28
defaultConfig
applicationId "projeto.ufma.com.projeto"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-database:16.0.5'





But always I'm getting that error:



E/AndroidRuntime: FATAL EXCEPTION: main
Process: projeto.ufma.com.projeto, PID: 28861
java.lang.RuntimeException: Unable to start activity ComponentInfoprojeto.ufma.com.projeto/projeto.ufma.com.projeto.MainActivity: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at com.google.firebase.FirebaseApp.getInstance(com.google.firebase:firebase-common@@16.0.4:240)
at com.google.firebase.database.FirebaseDatabase.getInstance(com.google.firebase:firebase-database@@16.0.5:67)
at projeto.ufma.com.projeto.MainActivity.onCreate(MainActivity.java:60)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032) 
at android.app.ActivityThread.-wrap11(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) 
at android.os.Handler.dispatchMessage(Handler.java:105) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6944) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) 


The point is I followed the firebase documentation and I did everything there told me to do, though I can't connect to firebase.



I was trying to test the connection, but I just can...










share|improve this question
























  • Java has nothing to do with JavaScript.

    – Zoe
    Mar 24 at 15:31

















0















I need to connect to firebase, I did exactly what the firebase documentation told me that why I must've connected to firebase. I put the apply plugin as well, I saw the firebase console and I did every step I needed to do. that my code...



 FirebaseApp.initializeApp(this);

FirebaseDatabase database = FirebaseDatabase.getInstance();

DatabaseReference myRef= database.getReference();

myRef.setValue("teste");


that is my build.code(module)



apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android
compileSdkVersion 28
defaultConfig
applicationId "projeto.ufma.com.projeto"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-database:16.0.5'





But always I'm getting that error:



E/AndroidRuntime: FATAL EXCEPTION: main
Process: projeto.ufma.com.projeto, PID: 28861
java.lang.RuntimeException: Unable to start activity ComponentInfoprojeto.ufma.com.projeto/projeto.ufma.com.projeto.MainActivity: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at com.google.firebase.FirebaseApp.getInstance(com.google.firebase:firebase-common@@16.0.4:240)
at com.google.firebase.database.FirebaseDatabase.getInstance(com.google.firebase:firebase-database@@16.0.5:67)
at projeto.ufma.com.projeto.MainActivity.onCreate(MainActivity.java:60)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032) 
at android.app.ActivityThread.-wrap11(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) 
at android.os.Handler.dispatchMessage(Handler.java:105) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6944) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) 


The point is I followed the firebase documentation and I did everything there told me to do, though I can't connect to firebase.



I was trying to test the connection, but I just can...










share|improve this question
























  • Java has nothing to do with JavaScript.

    – Zoe
    Mar 24 at 15:31













0












0








0








I need to connect to firebase, I did exactly what the firebase documentation told me that why I must've connected to firebase. I put the apply plugin as well, I saw the firebase console and I did every step I needed to do. that my code...



 FirebaseApp.initializeApp(this);

FirebaseDatabase database = FirebaseDatabase.getInstance();

DatabaseReference myRef= database.getReference();

myRef.setValue("teste");


that is my build.code(module)



apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android
compileSdkVersion 28
defaultConfig
applicationId "projeto.ufma.com.projeto"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-database:16.0.5'





But always I'm getting that error:



E/AndroidRuntime: FATAL EXCEPTION: main
Process: projeto.ufma.com.projeto, PID: 28861
java.lang.RuntimeException: Unable to start activity ComponentInfoprojeto.ufma.com.projeto/projeto.ufma.com.projeto.MainActivity: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at com.google.firebase.FirebaseApp.getInstance(com.google.firebase:firebase-common@@16.0.4:240)
at com.google.firebase.database.FirebaseDatabase.getInstance(com.google.firebase:firebase-database@@16.0.5:67)
at projeto.ufma.com.projeto.MainActivity.onCreate(MainActivity.java:60)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032) 
at android.app.ActivityThread.-wrap11(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) 
at android.os.Handler.dispatchMessage(Handler.java:105) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6944) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) 


The point is I followed the firebase documentation and I did everything there told me to do, though I can't connect to firebase.



I was trying to test the connection, but I just can...










share|improve this question
















I need to connect to firebase, I did exactly what the firebase documentation told me that why I must've connected to firebase. I put the apply plugin as well, I saw the firebase console and I did every step I needed to do. that my code...



 FirebaseApp.initializeApp(this);

FirebaseDatabase database = FirebaseDatabase.getInstance();

DatabaseReference myRef= database.getReference();

myRef.setValue("teste");


that is my build.code(module)



apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android
compileSdkVersion 28
defaultConfig
applicationId "projeto.ufma.com.projeto"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-database:16.0.5'





But always I'm getting that error:



E/AndroidRuntime: FATAL EXCEPTION: main
Process: projeto.ufma.com.projeto, PID: 28861
java.lang.RuntimeException: Unable to start activity ComponentInfoprojeto.ufma.com.projeto/projeto.ufma.com.projeto.MainActivity: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process projeto.ufma.com.projeto. Make sure to call FirebaseApp.initializeApp(Context) first.
at com.google.firebase.FirebaseApp.getInstance(com.google.firebase:firebase-common@@16.0.4:240)
at com.google.firebase.database.FirebaseDatabase.getInstance(com.google.firebase:firebase-database@@16.0.5:67)
at projeto.ufma.com.projeto.MainActivity.onCreate(MainActivity.java:60)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032) 
at android.app.ActivityThread.-wrap11(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) 
at android.os.Handler.dispatchMessage(Handler.java:105) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:6944) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) 


The point is I followed the firebase documentation and I did everything there told me to do, though I can't connect to firebase.



I was trying to test the connection, but I just can...







android firebase firebase-realtime-database






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 24 at 15:31









Zoe

15.1k85789




15.1k85789










asked Mar 24 at 15:26









GuilhermeGuilherme

218




218












  • Java has nothing to do with JavaScript.

    – Zoe
    Mar 24 at 15:31

















  • Java has nothing to do with JavaScript.

    – Zoe
    Mar 24 at 15:31
















Java has nothing to do with JavaScript.

– Zoe
Mar 24 at 15:31





Java has nothing to do with JavaScript.

– Zoe
Mar 24 at 15:31












1 Answer
1






active

oldest

votes


















2














Under Gradle Scripts - > build.gradle(Project:YourProjectName) in that file
use latest classpath of play services
buildscript - > dependencies - >



dependencies 
classpath 'com.google.gms:google-services:4.2.0'






share|improve this answer

























  • I also did it before...

    – Guilherme
    Mar 24 at 16:11











  • did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

    – Praveen GM
    Mar 24 at 16:13












  • it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

    – Guilherme
    Mar 24 at 16:23











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325359%2fi-cant-initialize-the-firebase%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














Under Gradle Scripts - > build.gradle(Project:YourProjectName) in that file
use latest classpath of play services
buildscript - > dependencies - >



dependencies 
classpath 'com.google.gms:google-services:4.2.0'






share|improve this answer

























  • I also did it before...

    – Guilherme
    Mar 24 at 16:11











  • did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

    – Praveen GM
    Mar 24 at 16:13












  • it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

    – Guilherme
    Mar 24 at 16:23















2














Under Gradle Scripts - > build.gradle(Project:YourProjectName) in that file
use latest classpath of play services
buildscript - > dependencies - >



dependencies 
classpath 'com.google.gms:google-services:4.2.0'






share|improve this answer

























  • I also did it before...

    – Guilherme
    Mar 24 at 16:11











  • did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

    – Praveen GM
    Mar 24 at 16:13












  • it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

    – Guilherme
    Mar 24 at 16:23













2












2








2







Under Gradle Scripts - > build.gradle(Project:YourProjectName) in that file
use latest classpath of play services
buildscript - > dependencies - >



dependencies 
classpath 'com.google.gms:google-services:4.2.0'






share|improve this answer















Under Gradle Scripts - > build.gradle(Project:YourProjectName) in that file
use latest classpath of play services
buildscript - > dependencies - >



dependencies 
classpath 'com.google.gms:google-services:4.2.0'







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 24 at 15:59









Zoe

15.1k85789




15.1k85789










answered Mar 24 at 15:58









Praveen GMPraveen GM

221211




221211












  • I also did it before...

    – Guilherme
    Mar 24 at 16:11











  • did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

    – Praveen GM
    Mar 24 at 16:13












  • it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

    – Guilherme
    Mar 24 at 16:23

















  • I also did it before...

    – Guilherme
    Mar 24 at 16:11











  • did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

    – Praveen GM
    Mar 24 at 16:13












  • it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

    – Guilherme
    Mar 24 at 16:23
















I also did it before...

– Guilherme
Mar 24 at 16:11





I also did it before...

– Guilherme
Mar 24 at 16:11













did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

– Praveen GM
Mar 24 at 16:13






did it work? my application crashed having same error, i updated google-services: from 4.0.0 to 4.2.0 and it worked

– Praveen GM
Mar 24 at 16:13














it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

– Guilherme
Mar 24 at 16:23





it worked... gosh thanks. After I changed to 4.2.0 I needed put another google-services.json. And It worked, thanks

– Guilherme
Mar 24 at 16:23

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325359%2fi-cant-initialize-the-firebase%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript