mirror of
https://github.com/revanced/Apktool.git
synced 2024-09-10 08:16:55 +02:00
Add apktool version to output during decode/rebuild
This commit is contained in:
parent
27922bdb81
commit
02ac674551
1
CHANGES
1
CHANGES
@ -23,6 +23,7 @@ v2.0.0 (TBA)
|
||||
-Fixed (issue #496) - Fixes Windows builds caused by java.nio problems
|
||||
-Fixed (issue #510) - Any error output is sent stderr instead of stdout
|
||||
-Fixed (issue #426) - Filename too long (JesusFreke)
|
||||
-Added output to list Apktool version to help debugging.
|
||||
-Updated known bytes for configurations to 38 (from addition of layout direction)
|
||||
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks Rodrigo Chiossi)
|
||||
|
||||
|
@ -262,7 +262,9 @@ public class Androlib {
|
||||
HashMap<String, Boolean> flags, String aaptPath)
|
||||
throws BrutException {
|
||||
|
||||
mAaptPath = aaptPath;
|
||||
LOGGER.info("Using Apktool " + Androlib.getVersion() + " on " + appDir.getName());
|
||||
|
||||
mAaptPath = aaptPath;
|
||||
Map<String, Object> meta = readMetaFile(appDir);
|
||||
Object t1 = meta.get("isFrameworkApk");
|
||||
flags.put("framework", t1 == null ? false : (Boolean) t1);
|
||||
|
@ -31,6 +31,7 @@ import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.*;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.zip.ZipEntry;
|
||||
|
||||
/**
|
||||
@ -81,6 +82,8 @@ public class ApkDecoder {
|
||||
}
|
||||
outDir.mkdirs();
|
||||
|
||||
LOGGER.info("Using Apktool " + Androlib.getVersion() + " on " + mApkFile.getName());
|
||||
|
||||
if (hasResources()) {
|
||||
setAnalysisMode(mAnalysisMode, true);
|
||||
// read the resources.arsc checking for STORED vs DEFLATE
|
||||
@ -342,6 +345,9 @@ public class ApkDecoder {
|
||||
|
||||
private final Androlib mAndrolib;
|
||||
|
||||
private final static Logger LOGGER = Logger.getLogger(Androlib.class
|
||||
.getName());
|
||||
|
||||
private ExtFile mApkFile;
|
||||
private File mOutDir;
|
||||
private ResTable mResTable;
|
||||
|
Loading…
Reference in New Issue
Block a user