Open zakblacki opened 3 weeks ago
Hello, I think i have the same problem: Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':webview_flutter_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: C:\Users\alexa\AppData\Local\Android\Sdk\platforms\android-34\core-for-system-modules.jar. Error while executing process C:\Users\alexa\AppData\Local\Programs\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\alexa.gradle\caches\transforms-3\4a46fc89ed5f9adfe3afebf74eb8bfeb\transformed\output\temp\jmod --add-modules java.base --output C:\Users\alexa.gradle\caches\transforms-3\4a46fc89ed5f9adfe3afebf74eb8bfeb\transformed\output\jdkImage --disable-plugin system-modules}
I would like to have this corrected, what can I do to help?
Hi @zakblacki, thank you for flagging. We are aware; however, in the meantime our plugin uses webview_flutter: ^4.7.0
which is compatible with webview_flutter_android: ^3.15.10
. We will look into updating in our next release.
@alexazdzez your issue is related to gradle. Try updating your gradle version and/or kotlin version to 1.9.0
.
Hi @malandr2, thanks for your answer. I update kotlin to 1.9.0 and it's still not working.
Hi @alexazdzez, are you able to run the banner_example? If so, try applying similar settings in your project as a proof of concept
Hello @malandr2, It's working. thank you very much
Because google_mobile_ads 5.2.0 depends on webview_flutter_android ^3.15.0 and webview_flutter >=4.10.0 depends on webview_flutter_android ^4.0.0, google_mobile_ads 5.2.0 is incompatible with webview_flutter >=4.10.0.
Please update.