mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
Added more info messages during decoding.
This commit is contained in:
parent
98c152c6e2
commit
3de632f04c
@ -91,7 +91,6 @@ public class Androlib {
|
||||
|
||||
public void decodeResourcesFull(ExtFile apkFile, File outDir,
|
||||
ResTable resTable) throws AndrolibException {
|
||||
LOGGER.info("Decoding resources...");
|
||||
mAndRes.decode(resTable, apkFile, outDir);
|
||||
}
|
||||
|
||||
|
@ -71,6 +71,7 @@ final public class AndrolibResources {
|
||||
}
|
||||
|
||||
resTable.addPackage(pkg, true);
|
||||
LOGGER.info("Loaded.");
|
||||
return pkg;
|
||||
}
|
||||
|
||||
@ -94,6 +95,7 @@ final public class AndrolibResources {
|
||||
}
|
||||
|
||||
resTable.addPackage(pkg, false);
|
||||
LOGGER.info("Loaded.");
|
||||
return pkg;
|
||||
}
|
||||
|
||||
@ -126,13 +128,18 @@ final public class AndrolibResources {
|
||||
ExtMXSerializer xmlSerializer = getResXmlSerializer();
|
||||
for (ResPackage pkg : resTable.listMainPackages()) {
|
||||
attrDecoder.setCurrentPackage(pkg);
|
||||
|
||||
LOGGER.info("Decoding file-resources...");
|
||||
for (ResResource res : pkg.listFiles()) {
|
||||
fileDecoder.decode(res, in, out);
|
||||
}
|
||||
|
||||
LOGGER.info("Decoding values*/* XMLs...");
|
||||
for (ResValuesFile valuesFile : pkg.listValuesFiles()) {
|
||||
generateValuesFile(valuesFile, out, xmlSerializer);
|
||||
}
|
||||
generatePublicXml(pkg, out, xmlSerializer);
|
||||
LOGGER.info("Done.");
|
||||
}
|
||||
|
||||
AndrolibException decodeError = duo.m2.getFirstError();
|
||||
|
Loading…
Reference in New Issue
Block a user