diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java index c8d30b85..e3db655f 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResValueFactory.java @@ -71,6 +71,9 @@ public class ResValueFactory { } public ResIntBasedValue factory(String value, int rawValue) { + if (value == null) { + return new ResFileValue("", rawValue); + } if (value.startsWith("res/")) { return new ResFileValue(value, rawValue); }