It does this in my project along with the default compose template project in Android Studio.
It would be handy if we had resources to test since we can then test multiple languages with UI tests and produce screenshots for this to send to our QA team as part of a release build.
One project is using the latest alpha version, and the other is using the latest stable version.
a
Albert Chang
10/21/2021, 9:25 AM
Use
rule.activity.getString()
. If you are creating the rule using
createComposeRule()
, change it to
createAndroidComposeRule<ComponentActivity>()
.
a
Anthony Martin
10/21/2021, 9:28 AM
Thanks Albert, I have tried that and it also throws the same error