Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodError #21

Closed
shivamkg0604 opened this issue Apr 20, 2021 · 1 comment
Closed

NoSuchMethodError #21

shivamkg0604 opened this issue Apr 20, 2021 · 1 comment

Comments

@shivamkg0604
Copy link

shivamkg0604 commented Apr 20, 2021

I am geeting nosuchmethoderror.I have copied the code .
but getting this error.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building Builder:
The method '[]' was called on null.
Receiver: null
Tried calling:

The relevant error-causing widget was:
MaterialApp file:///C:/Users/shiva/AndroidStudioProjects/Clima-Flutter/lib/main.dart:9:12
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1 _LocationScreenState.update. (package:clima/screens/location_screen.dart:26:25)
#2 State.setState (package:flutter/src/widgets/framework.dart:1267:30)
#3 _LocationScreenState.update (package:clima/screens/location_screen.dart:25:5)
#4 _LocationScreenState.initState (package:clima/screens/location_screen.dart:21:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
E/UIFirst (23085): failed to open /proc/23085/stuck_info, No such file or directory
Lost connection to device.
error

@azinmapar
Copy link

How did you solve it?? I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants