Roboletric 4.0.1 keeps throwing Resources$NotFoundException on buildActivity
I am trying to build very simple unittest with roboletric but I can't create the activity. I tried what was suggested on the thread but no success. Resources$NotFoundException when calling Robolectric.buildActivity() Yet, I am using the 4.0.1 version. I wonder if there some extra setup that I need to do. Here's is my gradle: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'com