New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure [INSTALL_FAILED_DEXOPT] #634

Closed
iBotPeaches opened this Issue Mar 18, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@iBotPeaches
Owner

iBotPeaches commented Mar 18, 2015

Original issue 524 created by jaimefdez86 on 2013-10-10T13:45:17.000Z:

Hi,
I've a problem when I try to install an apk generated by apktool on Android 2.3 devices (or emulator). The installation fails even when I build the apk without modifications.

What steps will reproduce the problem?

  1. apktool d com.example.apk -o com.example
  2. apktool b com.example -o com.example-new.apk
  3. adb install com.example-new.apk (on Android 2.3 devices)

What is the expected output? What do you see instead?

The installation fails with this message:
Failure [INSTALL_FAILED_DEXOPT]

Using adb logcat I get this output:

D/installd(34): DexInv: --- BEGIN '/data/app/com.example-new.apk' ---
E/dalvikvm(476): ERROR: Can't byte swap: bad dex version (0x30 33 36 00)
E/dalvikvm(476): ERROR: Byte swap + verify failed
E/dalvikvm(476): Optimization failed
W/installd(34): DexInv: --- END '/data/app/com.example-new.apk' --- status=0xff00, process failed
E/installd(34): dexopt failed on '/data/dalvik-cache/data@app@com.example-new.apk@classes.dex' res = 65280

What version of the product are you using? On what operating system?
Apktool v2.0.0-Beta5 on Debian

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #1 originally posted by connor.tumbleson on 2013-10-10T23:46:56.000Z:

Thanks for the heads up. Looking into it.

Owner

iBotPeaches commented Mar 18, 2015

Comment #1 originally posted by connor.tumbleson on 2013-10-10T23:46:56.000Z:

Thanks for the heads up. Looking into it.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #2 originally posted by connor.tumbleson on 2013-10-11T16:48:00.000Z:

Fixed with smali2 final.

Owner

iBotPeaches commented Mar 18, 2015

Comment #2 originally posted by connor.tumbleson on 2013-10-11T16:48:00.000Z:

Fixed with smali2 final.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment