سلام استاد خسته نباشید من طبق فیلم پکیج audioplayers رو به پروژه اضافه کردم ولی وقتی پروژه را اجرا می گیرم خطای گریدل میده حتی نسخه ای که شما تو کلیپ هم گفته بودین رو هم تست کردم حل نشد پروژه بودن اضافه کردن این پکیج به خوبی اجرا میشه نوشته نیاز به چندتا فایل برای گریدل داره ولی حتی فرصت دانلود به خودش نمی ده و سریع خطا میده مشکل فیلترشکنم نیست چون یک بار کلا گریدل رو پاک کردم از سیستمم و دوباره توسط فلاتر دانلود کردم لطفا کمکم کنید
این پایین لاگ هنگام اجرام هست
Launching lib/main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':audioplayers'.
> Could not resolve all artifacts for configuration ':audioplayers:classpath'.
> Could not find gradle-3.3.0.jar (com.android.tools.build:gradle:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.jar
> Could not find builder-3.3.0.jar (com.android.tools.build:builder:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.3.0/builder-3.3.0.jar
> Could not find shared-26.3.0.jar (com.android.tools.analytics-library:shared:26.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.3.0/shared-26.3.0.jar
> Could not find bundletool-0.6.0.jar (com.android.tools.build:bundletool:0.6.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.6.0/bundletool-0.6.0.jar
> Could not find jetifier-core-1.0.0-beta02.jar (com.android.tools.build.jetifier:jetifier-core:1.0.0-beta02).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/jetifier/jetifier-core/1.0.0-beta02/jetifier-core-1.0.0-beta02.jar
> Could not find builder-model-3.3.0.jar (com.android.tools.build:builder-model:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.3.0/builder-model-3.3.0.jar
> Could not find protos-26.3.0.jar (com.android.tools.analytics-library:protos:26.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.3.0/protos-26.3.0.jar
> Could not find apkzlib-3.3.0.jar (com.android.tools.build:apkzlib:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/apkzlib/3.3.0/apkzlib-3.3.0.jar
> Could not find apksig-3.3.0.jar (com.android.tools.build:apksig:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.3.0/apksig-3.3.0.jar
> Could not find annotations-26.3.0.jar (com.android.tools:annotations:26.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.3.0/annotations-26.3.0.jar
> Could not find databinding-common-3.3.0.jar (androidx.databinding:databinding-common:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/databinding/databinding-common/3.3.0/databinding-common-3.3.0.jar
> Could not find baseLibrary-3.3.0.jar (com.android.databinding:baseLibrary:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.3.0/baseLibrary-3.3.0.jar
> Could not find aapt2-proto-0.3.1.jar (com.android.tools.build:aapt2-proto:0.3.1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':audioplayers' of type org.gradle.api.Project.
> Could not find method implementation() for arguments [project ':path_provider'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* 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 2s
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin audioplayers...
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
* Where:
Build file '/home/erfan/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.19.0/android/build.gradle' line: 25
* What went wrong:
A problem occurred evaluating root project 'audioplayers'.
> Failed to apply plugin [id 'kotlin-android']
> The current Gradle version 4.10.2 is not compatible with the Kotlin Gradle plugin. Please use Gradle 5.3 or newer, or the previous version of the Kotlin plugin.
* 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 1s
Exception: The plugin audioplayers could not be built due to the issue above.
Exited (sigterm)