mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-03 15:24:26 +02: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,
|
public void decodeResourcesFull(ExtFile apkFile, File outDir,
|
||||||
ResTable resTable) throws AndrolibException {
|
ResTable resTable) throws AndrolibException {
|
||||||
LOGGER.info("Decoding resources...");
|
|
||||||
mAndRes.decode(resTable, apkFile, outDir);
|
mAndRes.decode(resTable, apkFile, outDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,6 +71,7 @@ final public class AndrolibResources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resTable.addPackage(pkg, true);
|
resTable.addPackage(pkg, true);
|
||||||
|
LOGGER.info("Loaded.");
|
||||||
return pkg;
|
return pkg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,6 +95,7 @@ final public class AndrolibResources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resTable.addPackage(pkg, false);
|
resTable.addPackage(pkg, false);
|
||||||
|
LOGGER.info("Loaded.");
|
||||||
return pkg;
|
return pkg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,13 +128,18 @@ final public class AndrolibResources {
|
|||||||
ExtMXSerializer xmlSerializer = getResXmlSerializer();
|
ExtMXSerializer xmlSerializer = getResXmlSerializer();
|
||||||
for (ResPackage pkg : resTable.listMainPackages()) {
|
for (ResPackage pkg : resTable.listMainPackages()) {
|
||||||
attrDecoder.setCurrentPackage(pkg);
|
attrDecoder.setCurrentPackage(pkg);
|
||||||
|
|
||||||
|
LOGGER.info("Decoding file-resources...");
|
||||||
for (ResResource res : pkg.listFiles()) {
|
for (ResResource res : pkg.listFiles()) {
|
||||||
fileDecoder.decode(res, in, out);
|
fileDecoder.decode(res, in, out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOGGER.info("Decoding values*/* XMLs...");
|
||||||
for (ResValuesFile valuesFile : pkg.listValuesFiles()) {
|
for (ResValuesFile valuesFile : pkg.listValuesFiles()) {
|
||||||
generateValuesFile(valuesFile, out, xmlSerializer);
|
generateValuesFile(valuesFile, out, xmlSerializer);
|
||||||
}
|
}
|
||||||
generatePublicXml(pkg, out, xmlSerializer);
|
generatePublicXml(pkg, out, xmlSerializer);
|
||||||
|
LOGGER.info("Done.");
|
||||||
}
|
}
|
||||||
|
|
||||||
AndrolibException decodeError = duo.m2.getFirstError();
|
AndrolibException decodeError = duo.m2.getFirstError();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user