Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

/flutter (23157): [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)`

Mayura Sandakalum answered on January 2, 2023 Popularity 9/10 Helpfulness 10/10

Contents


More Related Answers

  • VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value
  • Failed assertion:'initialValue == null || controller == null': is not true.
  • Error: NoteState(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
  • package:flutter/src/material/text_form_field.dart': Failed assertion: line 157 pos 15: 'initialValue == null || controller == null': is not true.
  • platformexception (platformexception(null-error, host platform returned null value for non-null return value., null, null))
  • [error:flutter/runtime/dart_vm_initializer.cc(41)] unhandled exception: type 'null' is not a subtype of type 'string'
  • [error:flutter/lib/ui/ui_dart_state.cc(186)] unhandled exception: null check operator used on a null value

  • /flutter (23157): [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)`

    2

    This error occurs because of this `options: DefaultFirebaseOptions.currentPlatform,` not added into `initializeApp()`

    Popularity 9/10 Helpfulness 10/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 20 2023
    Mayura Sandakalum
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    -1
    Popularity 9/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: host
    Link to this answer
    Share Copy Link
    Contributed on Jan 02 2023
    jp98
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.