Thanks for your help! I just want to publish the Android and JVM targets. I checked the link and I think it only publishes the source code in androidMain instead of commonMain. Thus, it will not encounter the duplicated file error. However, I think it is necessary to include the source code in commonMain. Do you have a method to solve that problem? Thanks again!