First of all,
I\'m pretty much aware that a lot of questions on this error had been posted already here, and none of them seems to be having a proper solution especia
I had a similar issue and spent forever trying to find the issue. I found another thread that you can run Analyze -> Inspect Code to find the issue, but this didn't work for me and showed nothing, but apparently others had success with this.
My issue ended up being with my database (I was using Room) and the fix was simply a matter of removing a "suspend" I had on an insert function in my DAO..
I found this issue by looking in the java generated code folder. Look at all your database files that are generated with "_Impl". The error was highlighted in red and then I could deduce from here what was going wrong (although I don't know why Android Studio couldn't just show me that error in the build output :/ )
Best of luck though! Those kapt errors are the worst