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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...