Can not build to Android in Release mode

I use this command line on window 7 (use cocos2d-js 3.16 version)
cocos compile -p android --android-studio -m release
and got this error The input line is too long. when Cocos running command: jscompile -s -d
Please help me, thanks.

Show us more info.

Paste in your path, paste in output, etc, etc. Are there spaces in the path?

Thank you for your replying. I have just fixed. Only upgrade new Python version.