Closed GoogleCodeExporter closed 9 years ago
This is a good bug report submission. Thanks, will take a look.
Original comment by connor.tumbleson
on 11 Oct 2014 at 1:05
Okay sorry for the delay. I did the following steps.
apktool d app-original.apk
apktool b app-original -o app-dirty.apk
signapk app-dirty.apk
where signapk is
java -jar /usr/local/bin/signapk.jar /usr/local/bin/keys/testkey.x509.pem
/usr/local/bin/keys/testkey.pk8 "$1" "$1-signed"
adb install app-dirty.apk-signed
Clicked both buttons "Crash" & "Workaround" and nothing happened crash wise. I
then installed "app-original.apk" and had 0 crashes.
I was testing on a OnePlus One, Android 4.4.4
Original comment by connor.tumbleson
on 27 Dec 2014 at 12:32
As I write in report - it crashes on android 4.0.4 and works fine on 4.4.4. So
please try on 4.0.4
Original comment by RusMons...@gmail.com
on 27 Dec 2014 at 12:40
Apktool has no control over the decoded and rebuilt smali. That is done by
https://code.google.com/p/smali/.
You could try with the latest smali builds. Apktool 1.5.2 had smali 1.4.1 &
Apktool 2.x is at smali 2.0.3 currently. If regression occurred it happened in
between those (which was an entire rewrite).
This commit looks related:
https://code.google.com/p/smali/source/detail?r=0d8418ff1f253471dc5f579ec5b4976c
08649a09
I will keep this closed as its really isolated to certain platform versions &
appears to be directly related to dex files.
Original comment by connor.tumbleson
on 27 Dec 2014 at 12:51
FYI, I think I have encountered the same problem. I have tracked it down to a
bug in Dalvik VM before Jelly Bean MR1 (4.2) and suggested a compatibility fix
in smali.
I have submitted a pull request at https://github.com/JesusFreke/smali/pull/29
When it gets merged (or the problem gets solved in some other way), apktool and
other derived projects will hopefully work with the older versions again sooner
or later too.
Original comment by ji...@fud.cz
on 19 Feb 2015 at 2:43
Original issue reported on code.google.com by
RusMons...@gmail.com
on 11 Oct 2014 at 1:01