From 83a45921eac9da2ac355008438e099c0ed2f8850 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 12 Apr 2020 07:20:48 -0400 Subject: [PATCH] fix: put the resources.arsc file under STORED compression into framework --- .../src/main/java/brut/androlib/res/AndrolibResources.java | 1 + 1 file changed, 1 insertion(+) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java index ec15deb1..4801a89f 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java @@ -883,6 +883,7 @@ final public class AndrolibResources { crc.update(data); entry = new ZipEntry("resources.arsc"); entry.setSize(data.length); + entry.setMethod(ZipOutputStream.STORED); entry.setCrc(crc.getValue()); out.putNextEntry(entry); out.write(data);