Add warning about disassembling an odex file without deodexing it

git-svn-id: https://smali.googlecode.com/svn/trunk@533 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-12-31 01:24:56 +00:00
parent 67d43a3c38
commit 81ab1aa726

View File

@ -192,6 +192,11 @@ public class main {
if (write) { if (write) {
System.err.println("-w cannot be used with an odex file. Ignoring -w"); System.err.println("-w cannot be used with an odex file. Ignoring -w");
} }
if (deodexerant == null) {
System.err.println("Warning: You are disassembling an odex file without deodexing it. You");
System.err.println("won't be able to re-assemble the results unless you use deodexerant, and");
System.err.println("the -x option for baksmali");
}
} }
if (disassemble) { if (disassemble) {