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
- Trying to connect a site to an existing ...
I am trying to connect a repo, it looks like it fires off a network request, but does not appear to finish or even fail trying to.
- flutter realtime not working since versi...
I have the problem, that in flutter the realtime does not work anymore when I upgrade the sdk to verison 21.0.0+ (works with 20.3.3) I think the queries are not...
- Google's "Choose an account" screen stuc...
I've been struggling with this problem on my servers (self hosted 1.6.0 & 1.7.4) , multiple projects , multiple apps , and I think I have reached a very strange...