From e9196c28b8a161e08cc33e4b4897d16961be3083 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sat, 5 Jan 2013 08:50:48 -0600 Subject: [PATCH] output smali filename instead of filestream --- CHANGES | 5 ++++- .../src/main/java/brut/androlib/src/DexFileBuilder.java | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 2ebefb87..2a5148b4 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,7 @@ -v1.5.1 PR3 (TBA) +v1.5.2 (TBA) +-Fixed (issue #299) - output smali filename errors to screen during rebuild instead of filestream + +v1.5.1 PR3 (Released December 23 - 2012) Codename: Pre Release 3 -Reverted "Prevents removal of on decompile, but then throws warning on rebuild (issue #366)" -Added -a / -aapt command on rebuild to specify location of aapt -Updated internal framework diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DexFileBuilder.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DexFileBuilder.java index f8bbf003..8a0904b5 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DexFileBuilder.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DexFileBuilder.java @@ -43,7 +43,7 @@ public class DexFileBuilder { if (! SmaliMod.assembleSmaliFile( smaliStream, name, mDexFile, false, false, false)) { throw new AndrolibException( - "Could not smali file: " + smaliStream); + "Could not smali file: " + name); } } catch (IOException ex) { throw new AndrolibException(ex);