Command line option for disabling warnings

This commit adds a new command line option to dx:
If the caller appends this to the arguments, dx won't print
warnings to System.err. This can be useful if the user
dexes external jars with old class format, so dx would
print lot of warning about those.


Signed-off-by: Csaba Kozák <>

(cherry picked from commit ef1de423e70704c478ee77956f44b0a040d8bede)

Change-Id: I6d09c684b5eb97aa28e0b12e3ef44b46293c7dec
3 files changed