Open sarimmehdi opened 1 month ago
Okay. The way I was finally able to solve this was by restarting my PC and then deleting the entire .gradle folder (without restarting, you can't delete the whole folder). I then booted up Android Studio and rebuilt my project. Now, I can run everything without problems.
This is clearly not ideal. Is there another solution to this? I cannot be expected to do this everytime I make a change to my Room Database. Does kapt also have the same issue?
Hi @sarimmehdi, would you mind to share a test case?
Hi @sarimmehdi, would you mind to share a test case?
Unfortunately not but you should be able to reproduce it by creating a type list converter and then just modifying it in some way and trying to build again
This error was already reported here but the latest version doesn't fix it. Here is my situation. I had a Type Converter for a Room database:
I then deleted the
fromShapeTypeListToStringToDatabase
method and tried to build the app. I got an error and I realized I actually did need the method I originally removed. So, I re-addedfromShapeTypeListToStringToDatabase
it back in but now I get this error: