Fix "sqflite_android:compileDebugJavaWithJavac" Error | Flutter Android Build Failed Solution 2025
Автор: Chanuka Ranathunga
Загружено: 2025-05-13
Просмотров: 342
Are you facing the error:
Execution failed for task ':sqflite_android:compileDebugJavaWithJavac' while building your Flutter app for Android?
In this video, I walk you through the exact steps to fix the Gradle build failure caused by the core-for-system-modules.jar issue in the sqflite_android plugin. This error usually happens due to JDK mismatches, SDK corruption, or Gradle issues.
🔧 What you'll learn in this video:
Why this error happens
How to check your JDK version
How to fix Android SDK or Gradle config
How to get your Flutter project running again!
📌 Works for Flutter in 2025 with Android Studio Hedgehog/Flamingo
👉 Don't forget to like, subscribe, and comment if this helped you!
--------------------- COMPLETE ERROR ---------------------------
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':sqflite_android:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':sqflite_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\MSi\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\MSi\.gradle\caches\transforms-3\8bf5795e09c550ce0eb67b7ed0f70b8e\transformed\output\temp\jmod --add-modules java.base --output C:\Users\MSi\.gradle\caches\transforms-3\8bf5795e09c550ce0eb67b7ed0f70b8e\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 44s
Error: Gradle task assembleDebug failed with exit code 1
visit: https://www.appsblee.com/
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: