When following the tutorial for setting up the Room persistence library I run in to this error when testing on an Android device.
java.lang.RuntimeException: cannot
In my case I have change scheme but forgot to change version number.
@Database(entities = {Task1.class, Task2.class}, version = 2)