fix: add message explaining deprecation of 32bit

This commit is contained in:
Connor Tumbleson 2020-11-28 16:14:15 -05:00 committed by Connor Tumbleson
parent 7cf9a95710
commit 4f13bcad48

View File

@ -23,6 +23,7 @@ import brut.androlib.err.OutDirExistsException;
import brut.common.BrutException;
import brut.directory.DirectoryException;
import brut.util.AaptManager;
import brut.util.OSDetection;
import org.apache.commons.cli.*;
import java.io.File;
@ -51,6 +52,10 @@ public class Main {
try {
commandLine = parser.parse(allOptions, args, false);
if (! OSDetection.is64Bit()) {
System.err.println("32 bit support is deprecated. Apktool will not support 32bit on v1.6.0.");
}
} catch (ParseException ex) {
System.err.println(ex.getMessage());
usage();