| commit | 9f1911181ddd40c61622dfb9d120fe37190e4adf | [log] [tgz] |
|---|---|---|
| author | Donald Chai <dchai@google.com> | Mon Aug 13 17:12:42 2018 -0700 |
| committer | Donald Chai <dchai@google.com> | Mon Aug 20 03:48:47 2018 +0000 |
| tree | 8aeaa44caef005ec5bc60897e1ebd199727a4419 | |
| parent | 7dd9fce65282e8b2d35b5c660ba0f03e3c9b9b8c [diff] [blame] |
Include values in error message. Bug: 112554546 Test: N/A Change-Id: I56c468a9a4f162f6ce8079d6b4b61c5ec4b8f633
diff --git a/tools/aapt2/format/Container.cpp b/tools/aapt2/format/Container.cpp index 739555c..d4b4571 100644 --- a/tools/aapt2/format/Container.cpp +++ b/tools/aapt2/format/Container.cpp
@@ -270,7 +270,8 @@ } 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; }