When I run my application on my phone, I get the exception:
Room cannot verify the data integrity. Looks like you've changed schema but
forgot to update the version number. You can simply fix this by increasing the
version number.
I know that I can use the method
fallbackToDestructiveMigration
But if I use it, then the callBack "onCreate" is never invoked (and I need it to be invoked).
The weird thing is that i get the message even if I "clear data" of the application (via de settings) and unistall the application. Apparently the database is never really removed from the phone, because I keep getting a versions conflict.
How can I really delete the database from the phone?
Thank you!