summaryrefslogtreecommitdiff
path: root/tools/aapt2/format/Container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/format/Container.cpp')
-rw-r--r--tools/aapt2/format/Container.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aapt2/format/Container.cpp b/tools/aapt2/format/Container.cpp
index 739555c5b15d..d4b45717e015 100644
--- a/tools/aapt2/format/Container.cpp
+++ b/tools/aapt2/format/Container.cpp
@@ -270,7 +270,8 @@ ContainerReader::ContainerReader(io::InputStream* in)
}
if (magic != kContainerFormatMagic) {
- error_ = "magic value doesn't match AAPT";
+ error_ =
+ StringPrintf("magic value is 0x%08x but AAPT expects 0x%08x", magic, kContainerFormatMagic);
return;
}