Whenever I write an expect function in IntelliJ IDEA, I get the following warning:
The feature "multi platform projects" is experimental and should be enabled explicitly
Where can enable this feature? I already searched the settings and didn't find a way to disable that warning.
Compilation with gradle works fine.
A work around that could work for you is here:
You can find the full discussion here:
In short, the issue is related to the ability of kotlin multiplatform to use native libraries in the hierarchical structure:
There are some conflicts between native libraries and the common code features such as expect keyword.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With