Open GuilhE opened 4 months ago
Hi! Could you please, share a build script, where you apply the kotlinx-atomicfu
plugin, if you still face this problem.
I could not reproduce locally it on a sample mpp project
And it's clear to me, what do you mean by:
atomicfu 0.23.1/0.23.2 is applied as a commonMain dependency.
Thank you! I'll take a look.
Still happening with:
kotlin = "2.0.0-RC1"
kotlinxAtomicFu = "0.24.0"
Android Studio Iguana | 2023.2.1 Patch 2
Non-Bundled Plugins:
com.jetbrains.kmm (0.8.2(232)-20)
org.jetbrains.compose.desktop.ide (1.6.2)
Hi! I've tried to open and run both projects that you attached above in Android Studio 2023.2.1 Patch 2
with the latest KGP / atomicfu versions.
And I do not get this error neither during the project sync, nor during the build. Moreover the .idea/libraries/
directory is not created at all.
Probably, this problem is platform dependent, I only checked that for MacOS.
So, I'll try to check that for other platforms, and also this may be a problem related to IDE imports
Hello!
So, I'll try to check that for other platforms, and also this may be a problem related to IDE imports
I'm also using on MacOS, but let me share the full data about Android Studio:
Android Studio Iguana | 2023.2.1 Patch 2
Build #AI-232.10300.40.2321.11668458, built on April 4, 2024
Runtime version: 17.0.9+0-17.0.9b1087.7-11185874 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.4.1 (Apple M1 Pro, 16 GB)
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
debugger.watches.in.variables=false
ide.windowSystem.autoShowProcessPopup=true
Non-Bundled Plugins:
com.jetbrains.kmm (0.8.2(232)-20)
org.jetbrains.compose.desktop.ide (1.6.2)
Maybe it helps 😊
Fun fact, with the newer versions (atomicfu, IDE, kotlin, etc) I haven't seen this error while the IDE is open, but when the projects screen is presented the error is there:
Thanks a lot for the information! 🙏🏻 If I can not figure out the problem on the plugin side, I'll ask IDE Team for help and then leave a comment here.
Every time I open my project I get this error.
It doesn't prevent the project to successfully build and the app to run, but why is it throwing?
Targets:
atomicfu
0.23.1/0.23.2 is applied as acommonMain
dependency.Stack trace: