Problems with cocos2d-x installation

I’ve tried to install cocos2d-x with this manual: http://www.cocos2d-x.org/docs/installation/B/index.html on Windows10.
Have problems with the last step. After executing this comand(python android-build.py -p 21 cpp-tests) in cmd, I see only this: “Exception: Build dynamic library for project [ E:…\cocos2d-x-3.10\build…tests/cpp-tests ] fails!”
Don’t know how to make it work. Need some help.

Hi @scream_cha

it seems that this is another outdated document…

Try this to compile (or run)
http://www.cocos2d-x.org/docs/editors_and_tools/cocosCLTool/index.html

Why is it outdated?

It is hypothesis.
Because lately I only see mention of a cocos console. It seems that the cocos console is the recommended way now.

And you better know if it so. Is that so?

oh, I see what you mean. Recommended way to compile versus the steps listed in Appendix B.

Well, in this case, Appendix B has you building cpp-tests as a test of the installation. So the steps it lists are correct.

For normal projects, yes, cocos is a good choice. Much simpler.

Thank you for your reply.
Just … Why not use one way anywhere in the documentation? In order for not to confuse beginners.