Fixed
Status Update
Comments
gm...@gmail.com <gm...@gmail.com> #2
Hit this issue too. @JvmOverloads
vi...@google.com <vi...@google.com>
vi...@google.com <vi...@google.com> #3
We have passed this defect onto the development team and will update this issue with more information as it becomes available.
vi...@google.com <vi...@google.com> #4
Our engineering team has fixed this issue and corresponding documents will be updated in future.
ni...@ngo.org.uk <ni...@ngo.org.uk> #5
This is not fixed -- the documentation has not been updated.
vi...@google.com <vi...@google.com> #6
We request you to report a new issue along with the screenshot of the error from the Android studio, sample code and APK to test at our end here
Description
@Entity
data class User(
@PrimaryKey val id: Int,
val firstName: String?,
val lastName: String?,
@Ignore val picture: Bitmap?
)
using Room 2.2.5.
Error message : Entities and POJOs must have a usable public constructor. You can have an empty constructor or constructor whose parameters match the fields (by name and type)