Skip to content

error: cannot find symbol void setActivity(@Nullable Activity activity) { ^ symbol: class Activity location: class MethodCallHandlerImpl #1776

@ntripathi28

Description

@ntripathi28

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

Steps to reproduce

error: cannot find symbol
void setActivity(@nullable Activity activity) {
^
symbol: class Activity
location: class MethodCallHandlerImpl

Expected results

error: cannot find symbol
void setActivity(@nullable Activity activity) {
^
symbol: class Activity
location: class MethodCallHandlerImpl

Actual results

error: cannot find symbol
void setActivity(@nullable Activity activity) {
^
symbol: class Activity
location: class MethodCallHandlerImpl

Code sample

Code sample
[Paste your code here]

Screenshots or video

Screenshots or video demonstration

[Upload media here]

Version

14.0.2

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions