pracio / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

dalvikvm error "invalid reg type 12 on iput instr (need 10)" #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. d2j-dex2jar k9-4.103-release.apk 
2. d2j-asm-verify -d k9-4.103-release-dex2jar.jar 
3. d2j-jar2dex  -f -o classes.dex k9-4.103-release-dex2jar.jar 
4. copy /y k9-4.103-release.apk k9-4.103-release-unaligned.apk
5. 7z u -tzip k9-4.103-release-unaligned.apk classes.dex
6. 7z d -tzip k9-4.103-release-unaligned.apk "META-INF*"
7. jarsigner" -keystore .ks -storepass android -keypass android 
k9-4.103-release-unaligned.apk androiddebugkey
8. zipalign -v 4 k9-4.103-release-unaligned.apk k9-4.103-release-new.apk 
9. Execute K9 application on the device. Create account. 
Application shows "Cannot connect to server (com.jcraft.jzlib.Deflate)".

logcat shows:
W/dalvikvm(11135): VFY: invalid reg type 12 on iput instr (need 10)
W/dalvikvm(11135): VFY:  rejecting opcode 0x5f at 0x0017
W/dalvikvm(11135): VFY:  rejected Lcom/jcraft/jzlib/Deflate;.bi_flush ()V
W/dalvikvm(11135): Verifier rejected class Lcom/jcraft/jzlib/Deflate;
E/k9      (11135): Error while testing settings
E/k9      (11135): java.lang.VerifyError: com.jcraft.jzlib.Deflate
E/k9      (11135):  at com.jcraft.jzlib.ZStream.deflateInit(Unknown Source)
E/k9      (11135):  at com.jcraft.jzlib.ZStream.deflateInit(Unknown Source)
E/k9      (11135):  at com.jcraft.jzlib.ZOutputStream.<init>(Unknown Source)
E/k9      (11135):  at 
com.fsck.k9.mail.store.ImapStore$ImapConnection.open(Unknown Source)
E/k9      (11135):  at com.fsck.k9.mail.store.ImapStore.checkSettings(Unknown 
Source)
E/k9      (11135):  at 
com.fsck.k9.activity.setup.AccountSetupCheckSettings$1.run(Unknown Source)

Using dex2jar-0.0.9.7. 

Original issue reported on code.google.com by benyamin...@gmail.com on 25 Jan 2012 at 8:36

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Applied patch, rebuilt dex2jar. Still get the same error

Original comment by benyamin...@gmail.com on 1 Feb 2012 at 9:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I had same problem on version 0.0.9.10 but it resolved on dex2jar-0.0.9.11. 
Thanks for your great work!

Original comment by uddi.l...@gmail.com on 27 Oct 2012 at 2:02