Closed Jacks0N23 closed 3 years ago
This problem happens due to Android 11.
Hi, @Jacks0N23. Could you check the latest version of allure-kotlin (2.2.6), I have merged some fixes.
I have checked on 2.2.6 and test still do not start on Android 11.
Hi, @flotnik
To be honest I need more information to reproduce your issue. It would be great if you add some example right to GitHub. I have checked it locally and it works.
Thanks.
Hi, @viclovsky! I've also tried to bump version to 2.2.6 but the problem stays.
Adding to app manifest MANAGE_EXTERNAL_STORAGE permission solved my problem. With this permission tests are able to start on Android 11 with allure-kotlin:2.2.6
@flotnik Thanks! Now it actually works!
I'm submitting a ...
What is the current behavior?
After update to kotlin 1.5 (with useOldBackend = true, because of problems with new IR) test stopped to run. After some investigation I figured out that problem somewhere in allure.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
if set:
testInstrumentationRunner "io.qameta.allure.android.runners.AllureAndroidJUnitRunner"
then tests event not started. But when I replace it with parent of it -testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
then it's run successfully. I also tested that it's doesn't matter what targer sdk 30 or 29. BUT. Problem only on emulator/device with android 11 (30sdk). With lower everything okay.What is the expected behavior?
Tests starts and run
Please tell us about your environment:
Other information