csells / flutter_ai_toolkit

A set of AI chat-related widgets for Flutter
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
33 stars 6 forks source link

bug: Android Studio LadyBug Upgrade Issues #59

Closed csells closed 3 weeks ago

csells commented 3 weeks ago

When building for Android, I get:

* What went wrong:
Execution failed for task ':file_selector_android:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':file_selector_android: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: D:\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\ASUS\.gradle\caches\transforms-4\27d4116a6b8bfadbced0f80b87c44b18-3637e9fd-df62-40a9-93a2-142d7473c4e3\transformed\output\temp\jmod --add-modules java.base --output C:\Users\ASUS\.gradle\caches\transforms-4\27d4116a6b8bfadbced0f80b87c44b18-3637e9fd-df62-40a9-93a2-142d7473c4e3\transformed\output\jdkImage --disable-plugin system-modules}
csells commented 3 weeks ago

fixed with these settings changes: https://github.com/fluttercommunity/plus_plugins/issues/3299#issuecomment-2396404679