How to FIX Flutter Compile Error on Firebase Auth | Firebase Initializing

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024
  • [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(null-error, Host platform returned null value for non-null return value., null, null)
    Solutions
    await Firebase.initializeApp(
    options: FirebaseOptions(
    apiKey: "Api key here",
    appId: "App id here",
    messagingSenderId: "Messaging sender id here",
    projectId: "project id here",
    ),
    )
    #flutter #firebase #dart #ios #android

ความคิดเห็น • 143

  • @mohammedbaabad9070
    @mohammedbaabad9070 9 หลายเดือนก่อน +8

    U don't know how u saved many people's lives btw. Thanks from the heart

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน

      Welcome and subscribe

  • @echedition
    @echedition 11 หลายเดือนก่อน +6

    thanks sir i never forget you till my life i suffering from this error till 5 days

    • @kdtechs
      @kdtechs  11 หลายเดือนก่อน

      Welcome and subscribe

    • @SamishkaAthukorala
      @SamishkaAthukorala 6 หลายเดือนก่อน

      Same here

  • @infowithikram6099
    @infowithikram6099 10 หลายเดือนก่อน +2

    Sir I am very very thankful to you for solving this problem. I have trying to solve this since one week. May Allah give you the happy , healthy and wealthy life.....

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @cahyofitriningtyas2970
    @cahyofitriningtyas2970 ปีที่แล้ว +5

    You're such a lifesaver. Thanks a lot, man!

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @yaswanthyalamuri8799
    @yaswanthyalamuri8799 6 หลายเดือนก่อน +1

    Bro, i 've been working on this feature for last 14 hours and I got a thousand errors on the process and found no good tutorial until I saw your videos, you saved my day, THANK YOU

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน

      Welcome and subscribe

  • @Eddddddd_1
    @Eddddddd_1 10 หลายเดือนก่อน +1

    I tried tons of solutions. And I have spent a day on it. You helped me solve it in 5 minutes. ))) Thanks.

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @shreeharinadig9258
    @shreeharinadig9258 6 หลายเดือนก่อน +1

    thanks a lot for the video...really helpful ..even chatGPT couldn't resolve the this error....

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน

      Welcome and subscribe the channel

  • @Elkelany84
    @Elkelany84 8 หลายเดือนก่อน +1

    Thanks alot,you saved alot of time to thousands of people

  • @user-ul5vd9tc8k
    @user-ul5vd9tc8k 7 หลายเดือนก่อน +1

    Thakyou very much. This works well. You saved my assignment.

  • @mikaznavodya9300
    @mikaznavodya9300 5 หลายเดือนก่อน +1

    Thank you very much brother. Your tutorial helped me a lot.

  • @user-ey3xe1vj7h
    @user-ey3xe1vj7h 5 หลายเดือนก่อน +1

    thank youu soo much for your videooo its really working u saved my project thanksss a lotttt🤩

    • @kdtechs
      @kdtechs  5 หลายเดือนก่อน

      Welcome and subscribe

  • @darrenarmani
    @darrenarmani ปีที่แล้ว +1

    thanks alot sir, u helpin me so much, love the way u explain which u put a code in description bellow

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @aniketdeo1736
    @aniketdeo1736 4 หลายเดือนก่อน +1

    goood lord thank youuuuu so much sir you saved my project!!!!!

    • @kdtechs
      @kdtechs  4 หลายเดือนก่อน +1

      Welcome and subscribe

  • @tioluwalashe
    @tioluwalashe 5 หลายเดือนก่อน +1

    You’re a lifesaver. Thank you so much 💐

    • @kdtechs
      @kdtechs  5 หลายเดือนก่อน

      Welcome and subscribe

  • @mohammedsolyman3891
    @mohammedsolyman3891 10 หลายเดือนก่อน +1

    thank you very much, your solution works for me after having a very long hard time.

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @user-fe9qq8bj3j
    @user-fe9qq8bj3j 6 หลายเดือนก่อน +1

    A true lifesaver !

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน

      Welcome and subscribe

  • @Dantemustdi3
    @Dantemustdi3 2 หลายเดือนก่อน +1

    Mate, you're a legend

    • @kdtechs
      @kdtechs  2 หลายเดือนก่อน

      You are welcome and subscribe

  • @user-sx2bd5jj9e
    @user-sx2bd5jj9e 6 หลายเดือนก่อน +1

    You are my hero 🥰 many thank about this video

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน

      Welcome and subscribe

  • @malaikairfan946
    @malaikairfan946 10 หลายเดือนก่อน

    Thank u so much Sir for such an amazing video...i was suffering since 5 days and finally found the solution🎉🎉

  • @FMR_FMR
    @FMR_FMR 2 หลายเดือนก่อน +1

    Thanks, this is fixed my problem.

    • @kdtechs
      @kdtechs  2 หลายเดือนก่อน

      Welcome and subscribe

  • @kazutokrito7832
    @kazutokrito7832 3 หลายเดือนก่อน +1

    Thank you, bro, it works for me.

    • @kdtechs
      @kdtechs  3 หลายเดือนก่อน

      Welcome and subscribe

  • @pravinprince3221
    @pravinprince3221 ปีที่แล้ว +1

    Thank you for the wonderful video sir it is very helpful for me and my team, Thanks again sir

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @avlinantony4653
    @avlinantony4653 10 หลายเดือนก่อน +2

    This worked❤✨thank youuuuuu so much❤

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน +1

      Welcome and subscribe

  • @hadevision1958
    @hadevision1958 3 หลายเดือนก่อน +1

    Thanks a lot brother. This help a lot

    • @kdtechs
      @kdtechs  2 หลายเดือนก่อน

      Welcome and subscribe

  • @mrfazal.
    @mrfazal. 10 หลายเดือนก่อน +1

    thanks Man You are Greatest Hug Form Pakistan❤🤗

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @manavmenon7652
    @manavmenon7652 8 หลายเดือนก่อน +1

    DUDE THIS WORKS
    !!!!!!

    • @kdtechs
      @kdtechs  8 หลายเดือนก่อน +1

      welcome and subscribe

  • @khushivora6033
    @khushivora6033 22 วันที่ผ่านมา

    best video everrr 😭😭😭😭😭😭😭😭😭😭 keep it up bro!!

  • @afiqah14
    @afiqah14 9 หลายเดือนก่อน

    thankyou , i have spent 2 days on this and now i found the solution

  • @princemat8112
    @princemat8112 ปีที่แล้ว +1

    Thanks a lot bro. you saved me a life.

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @nabui4620
    @nabui4620 4 หลายเดือนก่อน

    you are so brilliant, thank you so much for this video

    • @kdtechs
      @kdtechs  4 หลายเดือนก่อน

      Welcome and subscribe

  • @uco740suriyaks3
    @uco740suriyaks3 10 หลายเดือนก่อน +1

    Thank you for you contribution. you save my time

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @SamishkaAthukorala
    @SamishkaAthukorala 6 หลายเดือนก่อน +1

    Thank you very much this helps me a lot ❤

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน +1

      Welcome and subscribe

    • @SamishkaAthukorala
      @SamishkaAthukorala 5 หลายเดือนก่อน

      @@kdtechs already subscribed 🖤

  • @user-yn2jf9kd3l
    @user-yn2jf9kd3l 9 หลายเดือนก่อน +1

    thank you bro, its solve my problem, thank you

    • @kdtechs
      @kdtechs  9 หลายเดือนก่อน

      Welcome and subscribe

  • @theofficialeshkei
    @theofficialeshkei 11 หลายเดือนก่อน +1

    Thanks you're a lifesaver!!

  • @uuu2714
    @uuu2714 5 หลายเดือนก่อน +1

    bro, you are the man

    • @kdtechs
      @kdtechs  5 หลายเดือนก่อน +1

      You are welcome and subscribe

  • @user-pt7tz6df5v
    @user-pt7tz6df5v 6 หลายเดือนก่อน +1

    Thanks a lot video, U help me so much.

    • @kdtechs
      @kdtechs  6 หลายเดือนก่อน

      Welcome and subscribe

  • @shanukadilshan5086
    @shanukadilshan5086 8 หลายเดือนก่อน

    You are a saviour, thank you very much sir

  • @dangerousFail
    @dangerousFail 10 หลายเดือนก่อน +1

    Bro, it worked. TY

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      welcome and subscribe

  • @Muddasirx
    @Muddasirx 4 หลายเดือนก่อน

    it is showing error on isAndroid that
    [ The getter 'isAndroid' isn't defined for the type 'Platform'. (Documentation) Try importing the library that defines 'isAndroid', correcting the name to the name of an existing getter, or defining a getter or field named 'isAndroid'. ]

    • @kdtechs
      @kdtechs  3 หลายเดือนก่อน

      You seem to have different error

  • @CSEAhamedBasith
    @CSEAhamedBasith 7 หลายเดือนก่อน +1

    Thanks bro finally I got it

    • @kdtechs
      @kdtechs  7 หลายเดือนก่อน

      Welcome and subscribe

  • @shrishailmaddaraki
    @shrishailmaddaraki ปีที่แล้ว +1

    Nice info, saved lot of time.

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @warperone
    @warperone 6 หลายเดือนก่อน

    wow it works .... thank you !

  • @zaknamony8815
    @zaknamony8815 15 วันที่ผ่านมา

    I’m lease I’m still getting the same error message
    Please I need help

  • @MT-qb8lj
    @MT-qb8lj 10 หลายเดือนก่อน +1

    Thank full for solution, Thailand.

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @bimagalicia2685
    @bimagalicia2685 6 หลายเดือนก่อน

    omg tyyyy, you help me to resolve the problem.

  • @hichamdhaffer3279
    @hichamdhaffer3279 9 หลายเดือนก่อน +1

    Thank you so so much 🤩

    • @kdtechs
      @kdtechs  9 หลายเดือนก่อน

      Welcome and subscribe

  • @jeres8620
    @jeres8620 11 หลายเดือนก่อน

    The getter 'isAndroid' isnt defined for the type 'Platform'... i still get this error?? Please help

    • @kushanandarawewa7231
      @kushanandarawewa7231 11 หลายเดือนก่อน +1

      import this library --> "import 'dart:io'; "

  • @waheeb_aqlan
    @waheeb_aqlan 8 หลายเดือนก่อน +1

    Big Thanks ❤❤❤❤

    • @kdtechs
      @kdtechs  8 หลายเดือนก่อน

      Welcome and subscribe

  • @rufus8480
    @rufus8480 5 หลายเดือนก่อน +1

    Thankyou so much🥰

    • @kdtechs
      @kdtechs  5 หลายเดือนก่อน

      Welcome and subscribe

  • @tariqthaqeeq
    @tariqthaqeeq ปีที่แล้ว +1

    thank you sir . its really help . but can you explain why we have to use this code ? . i will start follow you now . thank you

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @pokeinfernape3040
    @pokeinfernape3040 5 หลายเดือนก่อน +1

    Thank you very much

    • @kdtechs
      @kdtechs  5 หลายเดือนก่อน

      Welcome and subscribe

  • @mimirizaldo2412
    @mimirizaldo2412 9 หลายเดือนก่อน +1

    Thank youu!!

    • @kdtechs
      @kdtechs  9 หลายเดือนก่อน

      Welcome and subscribe

  • @HeriSouza
    @HeriSouza ปีที่แล้ว +1

    Top, Thanks man!!

    • @kdtechs
      @kdtechs  ปีที่แล้ว

      Welcome and subscribe

  • @ayoubmzari
    @ayoubmzari 9 ชั่วโมงที่ผ่านมา

    thank u man

  • @emir3936
    @emir3936 8 หลายเดือนก่อน

    thank you bro

  • @mayogarcia5795
    @mayogarcia5795 3 หลายเดือนก่อน +1

    nice!!!

    • @kdtechs
      @kdtechs  3 หลายเดือนก่อน

      Thanks and subscribe please

  • @wolfcoder6069
    @wolfcoder6069 9 หลายเดือนก่อน +1

    love you boss😘😍

    • @kdtechs
      @kdtechs  9 หลายเดือนก่อน

      welcome and subscribe

  • @sarvarbloger2301
    @sarvarbloger2301 24 วันที่ผ่านมา +1

    thanks bro

  • @JAIDEEP_MCA_UIC
    @JAIDEEP_MCA_UIC 11 หลายเดือนก่อน

    i am facing this error, could you please you solve it, i have tried upgrading dependencies and rebuild still the error persists: Firebase Error: Unable to establish connection on channel.

    • @riri-jf4nv
      @riri-jf4nv 5 หลายเดือนก่อน

      did u find the solution? i got the same error

  • @JijiJiji-nb5ne
    @JijiJiji-nb5ne 6 หลายเดือนก่อน

    Thank you 😢😢❤

  • @hidayamoh
    @hidayamoh 4 หลายเดือนก่อน

    I came back just to thank you

  • @anishhazra2204
    @anishhazra2204 5 หลายเดือนก่อน

    thank u so much brooo

  • @deangeloni
    @deangeloni 10 หลายเดือนก่อน +1

    TY

    • @kdtechs
      @kdtechs  10 หลายเดือนก่อน

      Welcome and subscribe

  • @tungtrieu470
    @tungtrieu470 5 หลายเดือนก่อน +1

    thanks

  • @bhargavgokani3372
    @bhargavgokani3372 7 หลายเดือนก่อน

    thank u verymuch

  • @YmDieselMusic
    @YmDieselMusic หลายเดือนก่อน

    thank you

  • @King15630
    @King15630 11 หลายเดือนก่อน

    tq tq tq so much

  • @bronzeta9625
    @bronzeta9625 11 หลายเดือนก่อน +1

    Thanks

    • @kdtechs
      @kdtechs  11 หลายเดือนก่อน

      Welcome and subscribe

  • @Mr.Anonymous404
    @Mr.Anonymous404 ปีที่แล้ว

    But to get those id as im not using Google login method

  • @SaydAkamBarznji
    @SaydAkamBarznji 11 หลายเดือนก่อน +1

    Great

    • @kdtechs
      @kdtechs  11 หลายเดือนก่อน

      Welcome and subscribe

  • @dhruvdumadiya3634
    @dhruvdumadiya3634 11 หลายเดือนก่อน

    Still getting same error after applying your step

    • @edeathg1459
      @edeathg1459 11 หลายเดือนก่อน

      await Firebase.initializeApp(
      options: DefaultFirebaseOptions.currentPlatform);

  • @chandrumurugan7441
    @chandrumurugan7441 8 หลายเดือนก่อน

    hi iam getting error like this
    [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Nonnull field "messagingSenderId" is null., ExecutionException, Cause: java.lang.IllegalStateException: Nonnull field "messagingSenderId" is null., Stacktrace: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Nonnull field "messagingSenderId" is null.
    i tried the above video solution but ican make it resolve could you help me with that

  • @yasmeengabr
    @yasmeengabr 11 หลายเดือนก่อน +1

    i love youuu

    • @kdtechs
      @kdtechs  11 หลายเดือนก่อน

      Give me special thanks 😉

  • @AshwiniRao-kv1mz
    @AshwiniRao-kv1mz 11 หลายเดือนก่อน +1

    Thanks a lot bro. you saved me a life.

    • @kdtechs
      @kdtechs  11 หลายเดือนก่อน

      Welcome and subscribe

  • @radwaadel6554
    @radwaadel6554 18 วันที่ผ่านมา +1

    Thank you so much

    • @kdtechs
      @kdtechs  8 วันที่ผ่านมา

      welcome and subscribe

  • @varunyadav7964
    @varunyadav7964 5 หลายเดือนก่อน

    Thanks dude

  • @SoeWaiYanTun-b2n
    @SoeWaiYanTun-b2n 26 วันที่ผ่านมา

    Thank bro

  • @lktcode2219
    @lktcode2219 8 หลายเดือนก่อน

    thanks bro

  • @MohammedBenguerine
    @MohammedBenguerine 5 หลายเดือนก่อน

    thanks bro