androidrobolectric

AppCompatXXXX for customized UI cannot be tested


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

issue


Solution

  • after updated gradle to 3.2.0-alpha13, it works.