Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Robolectric - How to clean up message: "WARNING: unknown service autofill"

During my tests with Robolectric, I always get a warning message in console (no LogCat) with says: "WARNING: unknown service autofill".

Does Anyone know what to do to clean it up?

enter image description here

Thanks in advance.

like image 319
Jorge Gil Avatar asked Oct 03 '17 15:10

Jorge Gil


1 Answers

You can set the sdk version to 25. Thereby the tests will run against api level 25. The warnings should be removed/implemented in future robolectric versions.

To set the sdk version see: http://robolectric.org/configuring/

like image 140
Moritz Avatar answered Oct 06 '22 09:10

Moritz