How do i take screenshot i hacked my andriod device

With Android, the screenshot command can only capture the host application. If this payload is hosted in an app without a user interface (default behavior), it cannot take screenshots at all.

Did you tried making malicious apk file using Metasploit? It does not have such kind of user interface and is capable of taking screenshots.