Maybe you setup the wrong jvm for your project in the IDE module settings. Also i am not sure if jvmTarget = 15 is valid. I think 1.8 is max but not sure.
Timo Drick
12/11/2020, 8:50 PM
Do you have a MPP project. I think at least for android 1.8 is max
Timo Drick
12/11/2020, 8:50 PM
But in my setup i did not specify the jvmTarget for android and it work fine.
Timo Drick
12/11/2020, 8:54 PM
ok. nice. Yes for CfD the minimum is 11.
Timo Drick
12/11/2020, 8:59 PM
Did you tried to create a new project from the templates.
But i think it is something with the IDE settings. That it picksup the wrong jvm.
So you could try to compile with gradle in CLI. Do this work?