5

I'm trying to use Robolectric to test my Android application, and I always get the following warning:

WARNING: no system properties value for ro.build.date.utc

Any idea how to fix it?

Ron Tesler
  • 1,146
  • 1
  • 11
  • 24

1 Answers1

1

It appears that lots of people are having this issue, and it causes no harm. So I would say just suppress that warning. Check out Suppressing Lint Warnings. Also this has been asked on Stack Overflow before.

Community
  • 1
  • 1
DanFredell
  • 59
  • 4
  • 1
    I'm not sure I get the connection between this warning that Robolectric logs while running unit tests, and the Lint project analyzer. Is there a certain Lint warning that you can suppress that will prevent these warnings from being logged while testing? – spaaarky21 Jul 15 '14 at 16:33