[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.
Merge pull request #2224 from rakuco/fix-exit-print-order

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