re: android/android-test#743 (comment)
The workaround is to write to the app external cache instead:
/**
* Basically [AllureAndroidJUnitRunner] except:
* - [Allure.lifecycle] is set to [BniAllureLifecycle]
* - without [ExternalStoragePermissionsListener] which doesn't work on Android 11
*/