A problem for testing customized UI which extends from AppCompatXXXX. Here is the example of the UI from AppCompatTextView. It might be the problem from my side, however, when I change to TextView of this customized UI as parent class it works.
Robolectric 3.8
Here is the small project which cannot go through the tests. email-button
after updated gradle to 3.2.0-alpha13, it works.