diff --git a/tools/aapt2/compile/Compile.cpp b/tools/aapt2/compile/Compile.cpp index d0012288f5e88..2ea63d02b7548 100644 --- a/tools/aapt2/compile/Compile.cpp +++ b/tools/aapt2/compile/Compile.cpp @@ -738,7 +738,7 @@ int compile(const std::vector& args) { } if (!archiveWriter) { - return false; + return 1; } bool error = false;