السلام عليكم لو سمحتم اشتريت نظام خاص بتوصيل الطلبيات courier management system, ويتكون هذا الpackage من source code خاص بنسخة web و source code خاص بتطبيق التاجر او مرسل الطلبيات وتطبيق خاص برجل التوصيل. كما يتضمن نسختين, النسخة الخاصة ب android و نسخة خاصة ب IOS قمت بتشغيل نسخة الويب عن طريق xampp بشكل جيد, لكني عندما قمت بفتح التطبيق الخاص بالمرسل في android studio وأردت الحصول على ملف apk واجهتني مشكلة وهي: Flutter Fix [!] Your project's Gradle version is incompatible with the Java version that Flutter is using for Gradle. وهذه بعض المعلومات التي من ممكن ان تكون مفيدة: cmd "C:\Users\adils>java --version java 17.0.12 2024-07-16 LTS Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286) Java HotSpot(TM) 64-Bit Server VM (build 17.0.12+8-LTS-286, mixed mode, sharing)
C:\Users\adils>flutter doctor -v [√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [version 10.0.19045.5247], locale en-US) • Flutter version 3.27.1 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (5 days ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\adils\AppData\Local\Android\Sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.42) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools • Visual Studio Build Tools 2019 version 16.11.35425.106 • Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\Android Studio1 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [version 10.0.19045.5247] • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205 • Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.112
[√] Network resources • All expected network resources are available.
• No issues found!
" and i setup the jdk path in the android studio to "C:\Program Files\Java\jdk-17",
and this is what gradle-wrapper.properties contains distributionBase=GRADLE_USER_HOME " distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
فما اريده الان هو المساعدة في حل المشكلة وتنصيب النظام (الويب + التطبيقين) على الاندرويد و ال ios
cmd "C:\Users\adils>java --version java 17.0.12 2024-07-16 LTS Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286) Java HotSpot(TM) 64-Bit Server VM (build 17.0.12+8-LTS-286, mixed mode, sharing) ------------------------------------------------------------------------------------ cmd C:\Users\adils>echo %JAVA_HOME% C:\Program Files\Java\jdk-17 ------------------------------------------------------------------------------------ cmd C:\Users\adils>flutter doctor -v [√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [version 10.0.19045.5247], locale en-US) • Flutter version 3.27.1 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (5 days ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\adils\AppData\Local\Android\Sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.42) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools • Visual Studio Build Tools 2019 version 16.11.35425.106 • Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2024.2) • Android Studio at C:\Program Files\Android\Android Studio1 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart
اهلا اخي محمد معك اخوك محمود كاتب وصانع محتوى ولي اخي الكبير خريج حاسبات ومعلومات من2 وله خبرة بالapp developing عامتا وبفلتر خاصة بخبرة6سنوات يمكنه مساعدتك في ما تريد بكل احترافية ودقة ان ارد اعرض عليه الامر لمساعدتك في مشكلتك بإنتظارك اخي (◠‿◕)