• 1404/05/16

خطا در هنگام run :

Flutter version 3.32.8 

 Android Studio (version 2025.1.2)

java version: 24

به تازگی روی سیستم با ویندوز جدید نصب کردم flutter doctor هیچ خطائی و issues ندارد روی web و windows اجرا می شود اما روی android emulator API 35 , 36 که run می گیرم خطای زیر را میدهد.

 

FAILURE: Build failed with an exception.

* Where:

Settings file 'D:\MyProject\Flutter\toplearn_test\flutter_application_1\android\settings.gradle.kts' line: 19

* What went wrong:

Plugin [id: 'com.android.application', version: '8.7.3', apply: false] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)

- Included Builds (No included builds contain this plugin)

- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:8.7.3')

 Searched in the following repositories:

   Google

   MavenRepo

   Gradle Central Plugin Repository

  • 1404/05/17
  • ساعت 04:00

درود

لطفا بررسی کنید که نسخه Gradle Wrapper چند هست؟

وارد فایل 

gradle-wrapper.properties بشید و یک اسکرین شات بگیرید و به آیدی تلگرام بنده ارسال کنید تا مشکلتان را حل کنم

@abolfazldeveloprr


logo-enamadlogo-samandehi