💻 آخرین فرصت یادگیری برنامه‌نویسی با آفر ویژه قبل از افزایش قیمت در ۵ آذر ماه (🎁 به همراه یک هدیه ارزشمند )
۰ ثانیه
۰ دقیقه
۰ ساعت
۳ ارش
خطای در run without debuggin با عنوان Error: Gradle task assembleDebug failed with exit code 1
جامعه فلاتر ایجاد شده در ۲۹ آبان ۱۴۰۳

با سلام
من flutter doctor رو كه ميزنم همه گزينه‌ها که فعال هست

 flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.19045.4412], locale fa-IR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.0.1)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.95.3)
[√] Connected device (3 available)
[√] Network resources

• No issues found!
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-analytics

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).

Please note that analytics reporting was already disabled, and will continue to be disabled.

ولی وقتی ایمولاتور رو ران میکنم بعدش میخوام از run without debuggin رو میزنم خطا گردیل میده
هم با شکن امتحان کردم هم بی شکن
 


at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)

at org.gradle.wrapper.Download.downloadInternal(Download.java:58)

at org.gradle.wrapper.Download.download(Download.java:44)

at org.gradle.wrapper.Install$1.call(Install.java:61)

at org.gradle.wrapper.Install$1.call(Install.java:48)

at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)

at org.gradle.wrapper.Install.createDist(Install.java:48)

at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)

at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

[!] Gradle threw an error while downloading artifacts from the network.

Error: Gradle task assembleDebug failed with exit code 1

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-analytics

 

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).

 

Please note that analytics reporting was already disabled, and will continue to be disabled.

 

Exited (1).
 

برای خطای دانلود و رفع آن چه راهی پیشنهاد می‌دهید؟

ارش ۲۹ آبان ۱۴۰۳، ۱۰:۲۹

متن خطا رو از اول بفرستید. بنظر میاد قسمت اولش کپی نشده

یلدا محصلی ۲۹ آبان ۱۴۰۳، ۱۴:۵۷

این لینک هم چک کنید

یلدا محصلی ۲۹ آبان ۱۴۰۳، ۱۴:۵۸