square / spoon

Distributing instrumentation tests to all your Androids.
https://square.github.io/spoon/
Apache License 2.0
2.7k stars 477 forks source link

Spoon not working on Android 10 but works on Android 9 #581

Open jauggy opened 4 years ago

jauggy commented 4 years ago

I am using spoon-client-1.7.1.jar and the basic screenshot functionality doesn't seem to work on Andorid 10 (API Level 29) but works on Android 9. With Android 10, accessing storage changed.

Here is an example of how you need to store files in Android 10: https://stackoverflow.com/questions/61345973/unable-to-store-espresso-failure-screenshots-on-android-10-devices

ReinisSeredzinsS commented 3 years ago

Spoon client in general is not going to work on android 11 and 12 because of the scoped storage requirements. Does anyone know whether there are any plans to fix this ?

JakeWharton commented 3 years ago

No one has worked on Spoon for about 6 years so I would not expect it to be fixed. If someone wants to send an easily-reviewable and easily-mergable PR to fix it then it would probably be merged and you could rely on the code on master. Otherwise you should investigate new tools.