Closed abpalmarini closed 4 years ago
Hi @AlessandroPalmarini
can you please provide your flutter doctor -v
and your flutter run --verbose
?
Also, to better address the issue, would be helpful
if you could post a minimal code sample
or the steps to reproduce the problem.
Thank you
Hi @iapicca I ended up uninstalling the emulator and creating a new one with the API level 28 instead of 29 and the issue went away for me. Sorry that I couldn't help you to reproduce the problem.
Hi @AlessandroPalmarini I'm glad that you found a workaround I'm closing the issue for the moment, let me know if the problem occurs again thank you
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
This is what happens when I try run any app, including the flutter demo app, on the android emulator API 29. When I run it on the iOS simulator everything works perfectly and this does not happen. Do you know how I can fix this?
logs
```bash Launching lib/main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... I/flutter ( 7547): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter ( 7547): The following NoSuchMethodError was thrown building Builder: I/flutter ( 7547): The method '[]' was called on null. I/flutter ( 7547): Receiver: null I/flutter ( 7547): Tried calling: []("weather") I/flutter ( 7547): I/flutter ( 7547): The relevant error-causing widget was: I/flutter ( 7547): MaterialApp file:///Users/abp/AndroidStudioProjects/weather_app/lib/main.dart:10:12 I/flutter ( 7547): I/flutter ( 7547): When the exception was thrown, this was the stack: I/flutter ( 7547): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5) I/flutter ( 7547): #1 _HomeScreenState.updateCurrentWeatherUI.