hi everyone, When I work in my project (Compose Mu...
# compose
a
hi everyone, When I work in my project (Compose Multiplatform project), my codes are getting deleted automatically. I also found same issue in stakoverflow but no one answered for solution. Does anyone also dealing with same issue? Compose Multiplatform code files are getting deleted automatically as i'm working
f
Did you work at the root of the project app source and not in subfolder?
Are you working with package?
a
I was on root of project
f
Yes, it's the reason
I don't know why but the IDE don't like it
Use package like any java project and it will be good 🙂
👍 1
a
the only thing i can think of is that you are working inside of a build folder or an automatically generated directory and when you try to build your code gets wiped.
my bad. had a look at the errors (better to add in your question here instead of linking to external sites) maybe your modules are not setup correctly. can u try setting up a project from https://kmp.jetbrains.com/ and see what happens?
a
I am trying to create a library. I have used jetbrains wizard but I have added library and moved composeApp and iosMain in sample directory. I believe the issue related to Android Studio.
Also I have checked github repo but the common main code is not available in repo. How can I include it in repo?