我在应用程序的计划模块中创建了自定义日历小部件。这个日历小部件我之前创建并测试过,现在我已将它嵌入到我的应用程序中。当我调用它时,从我的主屏幕上,我的应用程序因以下错误日志而崩溃。我的 onCreate 也被调用了两次。
`08-05 07:51:27.294: E/SurfaceFlinger(794): ro.sf.lcd_density must be defined as a build property
08-05 07:51:28.613: E/SurfaceFlinger(794): ro.sf.lcd_density must be defined as a build property
08-05 07:51:39.353: E/SurfaceFlinger(794): ro.sf.lcd_density must be defined as a build property
08-05 07:51:40.723: E/SurfaceFlinger(794): ro.sf.lcd_density must be defined as a build property
08-05 07:52:05.483: E/Trace(2246): error opening trace file: No such file or directory (2)
08-05 07:52:05.513: E/SurfaceFlinger(794): ro.sf.lcd_density must be defined as a build property
08-05 07:52:07.814: E/SurfaceFlinger(794): ro.sf.lcd_density must be defined as a build property
08-05 07:52:10.624: E/Trace(2273): error opening trace file: No such file or directory (2)
`