You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Just changing the applicationId should not give any erros but use different applicationIds is a known issue. Try the posted workaround robolectric/robolectric#1623 (comment)
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 whenapplicationIdSuffix
is used.The text was updated successfully, but these errors were encountered: