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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...