Error -> INSTALL_FAILED_INVALID_APK

PPenguinPPenguin Member, PRO Posts: 110
john$ adb install try2_unsigned.apk
1261 KB/s (1363007 bytes in 1.054s)
pkg: /data/local/tmp/try2_unsigned.apk
Failure [INSTALL_FAILED_INVALID_APK]

john$ adb install try2.apk
1223 KB/s (1383736 bytes in 1.104s)
pkg: /data/local/tmp/try2.apk
Failure [INSTALL_FAILED_INVALID_APK]

john$ zipalign -v 4 try2_unsigned.apk try2_un.apk
Verifying alignment of try2_un.apk (4)...
63 assets/game.gameproj/actors/1.xml (OK - compressed)
[....output ommitted...]
1359853 resources.arsc (OK - compressed)
Verification succesful

john$ adb install try2_un.apk
1140 KB/s (1363023 bytes in 1.167s)
pkg: /data/local/tmp/try2_un.apk
Failure [INSTALL_FAILED_INVALID_APK]
GrayPenguin:tools john$

Comments

  • PPenguinPPenguin Member, PRO Posts: 110
    I am not going to delete this post, even though I found the problem.
    It might help someone else.

    The Problem:
    I do not follow directions sometimes!!!!

    The Solution:
    Updated my Android SDK (as the instructions say to) and it worked.

    I lil embarrassed, but if it helps someone!

    -John
Sign In or Register to comment.