Take screenshot with Cocos2d-js on android platform

I’m working with cocos2d-js alpha1 version.

I’ve succeed to take screenshot on iOS platform using RenderTexture. But after I copy the codes to android platform, the result image is just turn to black. My question is how to take screenshot on android platform?

I referred this: http://www.cocos2d-x.org/wiki/How_to_Save_a_Screenshot

Any idea?

Even am getting same error when i run on Cocos2d-Js version 3.5.

Any solution please!

Thanks