hey Bartek!
would be great to learn a bit more about your setup:
• is this preview located in common or Android source set?
• what targets do you have in the module with the preview file?
• do you make the changes in the file where the preview is located, or in a separate one?
• by "rebuild" you mean hitting the "Build & Refresh" button, or running the full app?