Sort framework ids before storing them in apktool.yml .

aapt command requires your to include frameworks in order.
This commit is contained in:
Ryszard Wiśniewski 2011-05-03 13:12:28 +02:00
parent 61309bb533
commit 2ac33fd5e7

View File

@ -208,6 +208,7 @@ public class ApkDecoder {
for (ResPackage pkg : pkgs) {
ids[i++] = pkg.getId();
}
Arrays.sort(ids);
Map<String, Object> uses = new LinkedHashMap<String, Object>();
uses.put("ids", ids);