I'm going to write some scripts for an dalvik emulator based android emulator (The nebula engine made by Netease, which is relatively more efficient to vm based emulators)
Although the emulator does not provide an adb server, but it provided a shell interface. So I can communicate with emulated android shell through it.
The biggest problem is that both the screencap
and screenshot
command don't work properly:
screencap
generates a png file with no contentscreenshot
generates error:
error: could not read framebuffer
So is there a way to take a screenshot on Android via shell without using screencap
or screenshot
command?