Hi, I created a multiplatform amper gradle based p...
# amper
s
Hi, I created a multiplatform amper gradle based project targeting JVM, Android, and iOS. Within a module.yaml, I defined aliases:
Copy code
aliases:
  - jvmAndAndroid: [jvm, android]
I'm using
expect
classes, and I want the
actual
implementations in
src/jvmAndAndroid
to be shared by both JVM and Android. However, Fleet is incorrectly flagging this and asking for separate
actual
implementations in
src/jvm
and
src/android
. How can I resolve this?
a
Could you share the exact error text, please? Is the project available to check? For uploading you can use https://uploads.jetbrains.com
s
I'm working on opensource project I will add it on github and then share it with here.
@andrey.dernov here is source code: https://github.com/fleeksoft/connectsdk-kmp
I have issue with com.fleeksoft.connectsdk.ported.mdns.KmDNS
that is expect in common and then implemented in jvmAndAndroid module
but still getting this error
Also I can't access KmDNS in android test module
a
Thank you very much for the sample project. We have reproduced this and will invesigate. It appears that this works in IntelliJ IDEA but there are issues in Fleet. Please subscribe to this issue for further updates: AMPER-691 Multiplatform Amper Fleet project: actual implementation cannot be shared code in aliased source set