IMPORTANT: Unable to open as zip archive error - Updating/Building and Company/Key management

Discussion in 'Archive - LWC 2.1' started by Fando, Oct 11, 2012.

  1. Fando Administrator

    Member Since:
    Jan 8, 2012
    Message Count:
    134
    Likes Received:
    55
    Trophy Points:
    100
    A lot of people have been running into this issue when building apps so I decided to write a little bit about it and provided some other very useful information that everyone should know about live wallpaper creator. This following is straight from our FAQ page on this issue: Unable to open as zip archive


    ERROR -> Unable to open 'some live wallpaper path.apk' as zip archive
    This error occurs during an attempt to build an application with an incorrect password/alias combination. Make sure that you are entering the password and alias correctly, they are case sensitive. When a new company is created, a key file becomes associated with it. This key file is like a digital signature. Each time an application is built, it is "signed" with this digital signature for Android security purposes.

    There is no way to modify the contents of a key file so if you forget your password or alias, you will not be able to use this key and will have to create a new one. To create a new key file, simply create a new company or delete and re-create an existing company providing new key credentials in the process. Keep in mind, each time you create a new company, a new key file is created. Although you may delete a company, for security purposes, the associated key file is never automatically removed. It continues to reside in the settings/companies directory in case you might need it. If you want to delete it, you can always do it manually, but be careful - you will not be able to update application that were previously signed with that key.

    Important: In order to issue future updates to your applications, you will need to build them using the same company key as the original application. If you delete or lose the key file, you will not be able to update applications that were previously created with that key. Re-creating a company with the same name will not get your key back! Each time a key is created, it is unique, so please create a backup copy and manage your keys and passwords carefully!


    If you have questions, let's discuss them here, otherwise good luck!
    Sandeep Mehra and Vas like this.
  2. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    Stickied! :)
  3. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    Doesn't work for me! o_O Am I right: You need to type the same password as you chose for your company, right? Has it to be associated with Google?
  4. Fando Administrator

    Member Since:
    Jan 8, 2012
    Message Count:
    134
    Likes Received:
    55
    Trophy Points:
    100
    No, the password and alias are not in any way associated with you Google account. The password and alias are for the keyfile which is used to digitally sign your application during the build process.
    They keyfile is created by you when you create a company in the Manage Companies tab of the Live Wallpaper Creator. Get it?
  5. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    Um, yes. But what's the problem the password combination seems to be alright.
  6. Vas Origin

    Member Since:
    Jan 4, 2012
    Message Count:
    770
    Likes Received:
    175
    Trophy Points:
    500
    For clarity's sake, can you paste your log of the error, please?
  7. Mark In the know

    Member Since:
    Oct 16, 2012
    Message Count:
    29
    Likes Received:
    4
    Trophy Points:
    25
    It works now- for everyone else: rebuild your SDK if you were using Eclipse before LWP Creator, Eclipse messes the SDKs after a while.
    Maximus likes this.
  8. fatos LWC Major

    Member Since:
    Apr 2, 2013
    Message Count:
    268
    Likes Received:
    73
    Trophy Points:
    200
    So When I sign the LiveWallaper in Eclipse whith the egzisting key I have to write the same password and alias like we entered at Manage Companies of LWC
  9. Fando Administrator

    Member Since:
    Jan 8, 2012
    Message Count:
    134
    Likes Received:
    55
    Trophy Points:
    100
    Yes, that is correct.
    fatos likes this.

Share This Page