Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android generation requires to clean #56

Open
pablisco opened this issue Oct 4, 2022 · 4 comments
Open

Android generation requires to clean #56

pablisco opened this issue Oct 4, 2022 · 4 comments

Comments

@pablisco
Copy link
Collaborator

pablisco commented Oct 4, 2022

I was trying out the lib on a demo Android project. The code doesn't seem to be generated as soon as the type is created. I had to clean the project or run the app. Running the build (from the hammer icon on Android Studio) didn't generate the code either.

I'm not sure if this is expected behaviour or something we are not configuring ok on our side.

@serras
Copy link
Collaborator

serras commented Oct 4, 2022

Maybe you need to follow instructions similar to those for KMP? https://kotlinlang.org/docs/ksp-multiplatform.html

@pablisco
Copy link
Collaborator Author

pablisco commented Oct 4, 2022

I've pushed the code I have so far here:
https://github.com/kopykat-kt/tic-tac-toe

@early6AM
Copy link

I had the same issue. For fix this i'm tried to delete build directories and it's work sometimes. But result of generation is really random. Sometimes work, sometimes not. Plz fix

I've pushed the code I have so far here: https://github.com/kopykat-kt/tic-tac-toe

@serras
Copy link
Collaborator

serras commented Jun 22, 2023

@dzemmarat @pablisco could you check if any of the solutions in this article (under heading Challenges and solutions) help with the problem? I'm not an Android developer, so I don't know what a good solution is for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants