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
I have provided permissions in my Manifest file and have granted it as well on my test class
@Rule public GrantPermissionRule mRuntimePermissionRule = GrantPermissionRule.grant( Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE );
But still getting error [STRL.testFailed] failed java.lang.RuntimeException: Unable to create output dir: /storage/emulated/0/app_spoon-screenshots at com.squareup.spoon.SpoonRule.createDir(SpoonRule.java:167) at com.squareup.spoon.SpoonRule.createDir(SpoonRule.java:164) at com.squareup.spoon.SpoonRule.createDir(SpoonRule.java:164) at com.squareup.spoon.SpoonRule.obtainDirectory(SpoonRule.java:108) at com.squareup.spoon.SpoonRule.screenshot(SpoonRule.java:66) at com.jraska.falcon.FalconSpoonRule.screenshot(FalconSpoonRule.java:39)
What's the possible solution for this?
The text was updated successfully, but these errors were encountered:
I have provided permissions in my Manifest file and have granted it as well on my test class
@Rule public GrantPermissionRule mRuntimePermissionRule = GrantPermissionRule.grant( Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE );
But still getting error
[STRL.testFailed] failed java.lang.RuntimeException: Unable to create output dir: /storage/emulated/0/app_spoon-screenshots at com.squareup.spoon.SpoonRule.createDir(SpoonRule.java:167) at com.squareup.spoon.SpoonRule.createDir(SpoonRule.java:164) at com.squareup.spoon.SpoonRule.createDir(SpoonRule.java:164) at com.squareup.spoon.SpoonRule.obtainDirectory(SpoonRule.java:108) at com.squareup.spoon.SpoonRule.screenshot(SpoonRule.java:66) at com.jraska.falcon.FalconSpoonRule.screenshot(FalconSpoonRule.java:39)
What's the possible solution for this?
The text was updated successfully, but these errors were encountered: