How to fix 'The feature "multi platform projects" is experimental and should be enabled explicitly' warning in IntelliJ IDEA

Viewed 3088

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.

1 Answers

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.

Related