رونمایی از پخته‌ترین و کاربردی‌ترین محصولات آموزشی سون‌لرن با کلی آفرهای ویژه🔥
۰ ثانیه
۰ دقیقه
۰ ساعت
۰ مهرداد عامری
عدم اجرای برنامه
جامعه فلاتر ایجاد شده در ۲۱ خرداد ۱۴۰۲

سلام وقت شما بخیر باشه

من فلاتر و اندروید استودیو رو آپدیت کردم، ابتدا بدون مشکل کار می‌کرد، اما از امروز این ارور رو بهم میده و اپ ران نمیشه. راه‌های مختلفی رو برای رفع این ارور امتحان کردم اما نتیجه‌ای ندادن. ممنون میشم راهنمایی بفرمایید

Launching lib\\main.dart on sdk gphone64 x86 64 in debug mode...

main.dart:1

/C:/src/flutter/flutter/packages/flutter/lib/src/painting/_network_image_io.dart:186:7: Error: The getter 'grethrow' isn't defined for the class 'NetworkImage'.

- 'NetworkImage' is from 'package:flutter/src/painting/_network_image_io.dart' ('/C:/src/flutter/flutter/packages/flutter/lib/src/painting/_network_image_io.dart').

_network_image_io.dart:1

Try correcting the name to the name of an existing getter, or defining a getter or field named 'grethrow'.

grethrow;

^^^^^^^^

/C:/src/flutter/flutter/packages/flutter/lib/src/painting/_network_image_io.dart:127:20: Error: A non-null value must be returned since the return type 'Codec' doesn't allow null.

- 'Codec' is from 'dart:ui'.

Future _loadAsync(

^

Target kernel_snapshot failed: Exception

The Flutter CLI developer tool uses Google Analytics to report usage and diagnostic data

along with package dependencies, and crash reporting to send basic crash reports.

This data is used to help improve the Dart platform, Flutter framework, and related tools.

Telemetry is not sent on the very first run.

To disable reporting of telemetry, run this terminal command:

flutter --disable-telemetry.

If you opt out of telemetry, an opt-out event will be sent,

and then no further information will be sent.

This data is collected in accordance with the

Google Privacy Policy (https://policies.google.com/privacy).

FAILURE: Build failed with an exception.

* Where:

Script 'C:\\src\\flutter\\flutter\\packages\\flutter_tools\\gradle\\flutter.gradle' line: 1201

* What went wrong:

Execution failed for task ':app:compileFlutterBuildDebug'.

> Process 'command 'C:\\src\\flutter\\flutter\\bin\\flutter.bat'' finished with non-zero exit value 1

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s

Exception: Gradle task assembleDebug failed with exit code 1

Exited (sigterm)