[Android] make_apk: Print an error message _before_ exiting.

Fix the order of the print() and sys.exit() calls so that the error
message is actually printed before the program exits.

(cherry picked from commit 2ea838537e4acfd3040710149f8ffad23c4b3af4)
Merge pull request #2227 from rakuco/backport-2224

[Android] make_apk: Print an error message _before_ exiting.