یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهابا سلام خدمت اساتید عزیز.
من فلاتر رو راه اندازی کردم. وقتی میخوام اجرا کنم خطا دارم
Launching lib\\main.dart on Custom Device in debug mode...
Initializing gradle...
Resolving dependencies...
- Error running Gradle:
ProcessException: Process exited abnormally:
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find com.android.tools.build:gradle:5.6.2.
> Searched in the following locations:
>
>
> - <https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/5.6.2/gradle-5.6.2.pom>
> - <https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/5.6.2/gradle-5.6.2.jar>
> - <https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/5.6.2/gradle-5.6.2.pom>
> - <https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/5.6.2/gradle-5.6.2.jar>
> - <https://jcenter.bintray.com/com/android/tools/build/gradle/5.6.2/gradle-5.6.2.pom>
> - <https://jcenter.bintray.com/com/android/tools/build/gradle/5.6.2/gradle-5.6.2.jar>
> Required by:
> project :
- 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 37s
Command: G:\\app\\testp\\android\\gradlew.bat app:properties
Finished with error: Please review your Gradle project setup in the android/ folder.
این هم خروجی flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
\[√\] Flutter (Channel beta, v1.10.7, on Microsoft Windows \[Version 10.0.18363.449\], locale en-US)
\[√\] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
\[√\] Android Studio (version 3.5)
\[!\] Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
\[√\] VS Code (version 1.40.0)
\[√\] Connected device (1 available)
! Doctor found issues in 1 category.
flutter config --android-sdk /path/to/android/sdk
flutter config --android-studio-dir /path/to/android/studio
مسیر درست رو وارد کنید.
Settings:
android-sdk: f:/sdk
android-studio-dir: C:/Program Files/Android/Android Studio
Analytics reporting is currently enabled.
بله از شکن استفاده میکنم
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟