-
Notifications
You must be signed in to change notification settings - Fork 11
build successful ,but can't running #12
Comments
For me, it also says package com.example.android.persistence.databinding does not exist; cannot find symbol class CommentItemBinding |
Try to export the schema by adding this to your
|
@wafer-li 不行啊..加上这个build.gradle不通过
我试了下clean 然后还是报错,但是项目可以跑起来了 |
@GurpreetSK95 thanks , i see my databinding is always enable; |
@pdog18 国际场合还是不说中文为好 I have no problem after adding the snippet, maybe you could try And make sure you add it at the right place, my |
火钳流明。You know I am using Chinese. |
Still doesn't work |
Does this only happen in Windows? For me that's just a warning. |
That schema thing is just a warning so cannot be the problem. |
I'm facing the same problem, just did what @yigit said, follow the output: |
I think we can try, speak English by Chinese!!! |
Error:Execution failed for task ':app:transformJackWithJackForDebug'.
|
@liuwenping828 do you solve this problem? 你解决了这个问题没 |
I am also getting the databinding classes not found after adding the this line |
@GurpreetSK95 were you able to solve this? I am also having the same issue with databinding after adding the room annotation processor |
1 similar comment
@GurpreetSK95 were you able to solve this? I am also having the same issue with databinding after adding the room annotation processor |
Someone found a solution? I also have the same issue |
This helped me: https://movieos.org/2017/android-room-data-binding-compile-time-errors/ I was seeing a max of 100 databinding errors, with no "real" error message. By expanding the number of messages that can be shown, check the last error and it will be a real Room compilation error! So, hopefully you can fix that error and get compilation working again :)
|
I had similar issue after adding Room in my existing application. BR errors hide the actual error in the code. I took steps below and could see the java error and once they were solved, my code worked perfectly fine For Project gradle For app gradle
App dependencies for Room
After syncing my code I could actually see the Room errors instead of BR errors. The culprit was UPDATE: To Run I the code fine, I had to Rebuild the project and could see room related errors then only. Check my answer https://stackoverflow.com/questions/48356496/room-annotation-processor-with-data-binding/48379815#48379815 |
ListView -> RecyclerView
AppDatabase
The text was updated successfully, but these errors were encountered: