Il device ha i privilegi di root? Quando hai lanciato il comando screenshot, l'app era in primo piano o era in background?
Online ho trovato questo:
Prova a vedere se invece
Online ho trovato questo:
Unfortunately this command only works if you injected into an apk and the APK activity is in the foreground.
...
the meterpreter> screenshot command on Android is sandboxed and can only capture the apps own framebuffer and the default android meterpreter payload has no UI (so there is no buffer to capture).
I'll fix the error message to say something sensible.
- https://github.com/rapid7/metasploit-framework/issues/9112
Prova a vedere se invece
post/android/capture/screen
funziona (letto da qua)