۲ محمد علی
مشکل ارجرا ی پروژه
جامعه فلاتر ایجاد شده در ۲۳ بهمن ۱۴۰۳

من موقع اجرای پروژه روی ایمولیتور با این مشکل رو به رو می‌شم:Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':path_provider_android:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':path_provider_android:androidJdkImage'.
  > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
     > Execution failed for JdkImageTransform: C:\Users\2023\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar.
        > Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\2023\.gradle\caches\transforms-3\d76e3c43f0b17b760ff0e85daf135927\transformed\output\temp\jmod --add-modules java.base --output C:\Users\2023\.gradle\caches\transforms-3\d76e3c43f0b17b760ff0e85daf135927\transformed\output\jdkImage --disable-plugin system-modules}

* 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 22s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).
چه جوری حلش کنم؟

ورژن فلاتر یا gradle یا .. رو اپدیت کردید؟

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

گریدل چند مثلا کار می‌کنه؟ من نسخه گریدل رو 8.4  کردم

محمد علی ۲۴ بهمن ۱۴۰۳، ۱۲:۴۸