"Failed to open zip file" error

12 posts, 0 answers
  1. Marcus
    Marcus avatar
    33 posts
    Member since:
    Jul 2012

    Posted 25 Aug 2012 Link to this post

    When trying to run my app using Ion I get a "Failed to open zip file" error popup. Does anybody know what could be causing this? This is with Ion already installed and after scanning the QR code. 
  2. neven
    neven avatar
    17 posts
    Member since:
    Nov 2010

    Posted 11 Sep 2012 Link to this post

    Hi,

    This is known problem that is fixed. There is update for Ion from 31 August. Please install it and try again.

    Neven
  3. Ivan
    Ivan avatar
    13 posts
    Member since:
    Jun 2012

    Posted 25 Sep 2012 Link to this post

    I have just freshly installed Ion and have the same issue. Can anyone confirm please?
  4. Neven Dinev
    Admin
    Neven Dinev avatar
    16 posts

    Posted 25 Sep 2012 Link to this post

    Hi,

    Just tried on ipad3 and iphone 4s. Works fine.
    Please provide more info about your ios device

    Kind regards,

  5. Ivan
    Ivan avatar
    13 posts
    Member since:
    Jun 2012

    Posted 25 Sep 2012 Link to this post

    Hi Neven,

    thanks. I am on iPhone 4 (not 4s).


  6. Neven Dinev
    Admin
    Neven Dinev avatar
    16 posts

    Posted 25 Sep 2012 Link to this post

    Hi,

    Cold you please share with us what is the OS version
    Did you upgraded from old ION to new one or you done fresh install?
    You are scanning QR code right? Could you please send QR code to us please.


    Thanks
  7. Ivan
    Ivan avatar
    13 posts
    Member since:
    Jun 2012

    Posted 25 Sep 2012 Link to this post

    Hi Neven,

    thanks once again.
    I am on iPhone 4 with iOS 5.1.1.

    I tried from iPhone4s with iOS 6 as well and got the same issue.

    Attached is QR code and screen with error...

    Any ideas?

    Ivan
  8. Marcus
    Marcus avatar
    33 posts
    Member since:
    Jul 2012

    Posted 25 Sep 2012 Link to this post

    Ivan, try building the project for Android. When I was having the iOS problem, I noticed that when building for Android it also failed, but it would give an error message and not even show me the QR code.

    The problem was that for some reason Mist could not find some images that were in my project. The weird part was that these were the included jQuery images (the ajax loader and icons). I deleted them from my project, and the Android build was successful. Then when I tried redownloading it on iOS, it worked.

    Neven, do you have any idea why Mist wouldn't be able to find those images? They showed up fine in Graphite.
  9. Ivan
    Ivan avatar
    13 posts
    Member since:
    Jun 2012

    Posted 25 Sep 2012 Link to this post

    Hi Marcus,

    that was exactly the problem. Many thanks!

    Ivan
  10. Neven Dinev
    Admin
    Neven Dinev avatar
    16 posts

    Posted 25 Sep 2012 Link to this post

    Hi Marcus,

    Thanks for sharing the workaround. I never experienced such problem. Even now i created new jquery project via mist and build  it for android. No errors was shown.

    The only guess i have for now is that maybe your projects were from ctp or beta 1 and something wrong happen during upgrade.

    Ivan,Marcus,

    Any additional info/steps how to reach this broken stage of the project will be appreciated.


    Regards
  11. Marcus
    Marcus avatar
    33 posts
    Member since:
    Jul 2012

    Posted 25 Sep 2012 Link to this post

    Ahh, that may be. The project was created before the Graphite update a few weeks ago (when the actual Cordova file was added).
  12. Ivan
    Ivan avatar
    13 posts
    Member since:
    Jun 2012

    Posted 26 Sep 2012 Link to this post

    Thanks Marcus and Neven.
    I actually recently copied over all files into new project when cordova.js was added. Building for Android did show error (missing img file, even though it was there...), but this error did not show in iOS build.

    What are you guys working on by the way?
Back to Top