Why won't my apk build when I use the release flag?

No - I am not using cocos studio. I am building from the terminal for android-studio, based on the instructions from this video:

Which was mentioned in this post:

It is supposed to be …/…/…/ because the android-studio project structure is different.