diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlPatcher.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlPatcher.java index ef71e962..b2d4efbd 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlPatcher.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlPatcher.java @@ -125,6 +125,10 @@ public final class ResXmlPatcher { * @throws AndrolibException */ public static String pullValueFromStrings(File directory, String key) throws AndrolibException { + if (! key.contains("@")) { + return null; + } + File file = new File(directory, "/res/values/strings.xml"); key = key.replace("@string/", "");