After installing shared_preferences, my app is not working.
Im getting this error:
`FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':shared_preferences_android:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':shared_preferences_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\tobik\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar. Error: Gradle task assembleDebug failed with exit code 1 `
When i run flutter clean and flutter pub get without including the shared preferences everything is working. I have tried updating android studio on Windows 11.
How do i make it work? Im using visual studio code.