realm-java: Error Build : 'these types will not undergo annotation processing'
i got this error when trying to build project with realm :
Note: Start processing for 0 annotations on 0 elements
Note: Time measurements: [Whole Processing = 0 ms],
Note: Finish processing
warning: Unclosed files for the types '[io.realm.CartItemRealmProxy]'; these types will not undergo annotation processing
File that generated by realm seems not processed.
I use android annotation and JDK 1.7 Android Studio 1.1 Beta 4
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 23 (10 by maintainers)
Can also happen if you forget to use
RealmList<>in place ofList<>🙈@Zhuinden It solved. After I switched to the
gradle 3.0, I changed thecompiletoimplementationand etc, but there were some common dependencies which used on the other project’s module too.I had to repeat them on that
build.gradletoo, or useapiinstead ofimplementation. ✨Oh I seem to be blind,
These field types (linked HashMap, list that is not RealmList) are not supported in RealmObjects unless they are explicitly ignored.
@csdodd I know, I commented to the person above you from 2016, because
Datewas not the problem 😃It is due to certain data types not supported in realm. You need to create a realm version of it. I suspect it is the “Date”.