I am integrating appwrite15.0.0 in Flutter 3.22 and the following error occurs while running Android:
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
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 ':device_info_plus:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':device_info_plus: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\EDY\AppData\Local\Android\Sdk\platforms\android-34\core-for-system-modules.jar.
> Error while executing process D:\Workspace\IDE\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\EDY\.gradle\caches\transforms-3\d9ee11a2fa4bb5bc88efa80b08ee81a1\transformed\output\temp\jmod --add-modules java.base --output C:\Users\EDY\.gradle\caches\transforms-3\d9ee11a2fa4bb5bc88efa80b08ee81a1\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 6s
Error: Gradle task assembleDebug failed with exit code 1
Exited (1).
And Gradle Scan Report is in the link: https://scans.gradle.com/s/ko7t6b7edfaxk/failure?expanded-stacktrace=WyIwIiwiMC0xIiwiMC0xLTIiXQ#1
More Info: Gradle version: 8.2.1 Java version: 17.0.12
Finally, I hope to get your help, thank you!!!
This error occurred immediately after I added the appwrite dependency to the pubspec.yaml file and ran Android.
Recommended threads
- Team invite - 500 error - no email
When executing ```dart await _repository.teams.createMembership( teamId: event.listId, roles: ['member'], email: event.email, url: 'xxxx', ); ``` I se...
- Help with nameservers
I just added our domain, and as per instruction in the page following, it says, "Add the following nameservers on your DNS provider. ..." I want to keep my cu...
- Issue with google and apple oauth in Flu...
My Flutter application is logging in and out with email and password successfully, but I’m having trouble with Google and Apple OAuth login and signup. Here’s...