\app\src\main\java\com\mw\app\demo\room\ProductVO.java:10: ����: There are multiple good constructors and Room will pick the no-arg constructor. You can use the @Ignore annotation to eliminate unwanted constructors.
public class ProductVO {
^
大致提示:这里有多个好的构造器和房间将挑选无参数构造器
这一个警告,并不会编译失败, 你也可以跟据提示添加@Ignore 来指定忽视哪个构造,只留一个,就不会报错了
更多推荐
Android 使用room报错here are multiple good constructors
发布评论