Running Robolectric tests fail with a android.content.res.Resources$NotFoundException when in build.gradle the applicationId is changed.
The exception happens when applicationId is set in defaultConfig or a build flavor to a value different than the one in the AndroidManifest. Same thing happens when applicationIdSuffix is used.
Running Robolectric tests fail with a
android.content.res.Resources$NotFoundExceptionwhen in build.gradle the applicationId is changed.The exception happens when
applicationIdis set in defaultConfig or a build flavor to a value different than the one in the AndroidManifest. Same thing happens whenapplicationIdSuffixis used.