Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ro.sf.lcd_density must be defined as a build property

Tags:

android

While running the application on the emulator, I have got those errors. How can I solve it so that my program will be more reliable ?

error:

 01-16 11:06:49.211: E/SurfaceFlinger(37): ro.sf.lcd_density must be defined as a build property
01-16 11:06:49.760: E/Trace(1633): error opening trace file: No such file or directory (2)
01-16 11:06:51.230: E/SurfaceFlinger(37): ro.sf.lcd_density must be defined as a build property
like image 883
user1983122 Avatar asked Jan 16 '13 10:01

user1983122


2 Answers

This has nothing to do with your application, it's just noise from the emulator. Check on a real device and you won't see this message anymore.

like image 70
Nuthatch Avatar answered Oct 20 '22 00:10

Nuthatch


I was getting this log message when had an icon in /res/drawable. I moved it into /res/drawable-hdpi and deleted /res/drawable and the log message went away.

like image 28
timcu Avatar answered Oct 20 '22 01:10

timcu