Launching lib\main.dart on sdk gphone64 x86 64 in ...
# flutter
j
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... 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. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. [Fatal Error] flutter_embedding_debug-1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262.pom290: The markup in the document following the root element must be well-formed. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'path provider androidcompileDebugJavaWithJavac'.
Could not resolve all files for configuration 'path provider androidandroidJdkImage'.
> 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\jeets\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\jeets\.gradle\caches\transforms-3\4a46fc89ed5f9adfe3afebf74eb8bfeb\transformed\output\temp\jmod --add-modules java.base --output C:\Users\jeets\.gradle\caches\transforms-3\4a46fc89ed5f9adfe3afebf74eb8bfeb\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 2m 8s Error: Gradle task assembleDebug failed with exit code 1
a
What version of Android Studio are you working on?
What JDK version are you compiling with?
What Gradle version?
j
ok i update android studio now so its latest version
java -version java version "23.0.1" 2024-10-15 Java(TM) SE Runtime Environment (build 23.0.1+11-39) Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing) this is my java version
and i dont know how to check gradle version can you please tell me
but i think gradle is 8.3
a
• Try AS Ladybug version. • Downgrade JDK to 17.12 (or so). • Use Gradle 8.9. (find it in /android/gradle/wrapper/gradle-wraper.properties
j
okay ill try and thank you for this
a
Happy building. Good luck!
j
still not working dude
a
The error stack?