This is a migrated thread and some comments may be shown as answers.

"Failed to open zip file" error

11 Answers 246 Views
AppBuilder companion app
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marcus
Top achievements
Rank 1
Marcus asked on 25 Aug 2012, 08:12 PM
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. 

11 Answers, 1 is accepted

Sort by
0
neven
Top achievements
Rank 1
answered on 11 Sep 2012, 01:19 PM
Hi,

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

Neven
0
Ivan
Top achievements
Rank 1
answered on 25 Sep 2012, 08:42 AM
I have just freshly installed Ion and have the same issue. Can anyone confirm please?
0
Neven Dinev
Telerik team
answered on 25 Sep 2012, 09:39 AM
Hi,

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

Kind regards,

0
Ivan
Top achievements
Rank 1
answered on 25 Sep 2012, 10:56 AM
Hi Neven,

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


0
Neven Dinev
Telerik team
answered on 25 Sep 2012, 01:29 PM
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
0
Ivan
Top achievements
Rank 1
answered on 25 Sep 2012, 03:55 PM
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
0
Marcus
Top achievements
Rank 1
answered on 25 Sep 2012, 04:08 PM
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.
0
Ivan
Top achievements
Rank 1
answered on 25 Sep 2012, 04:33 PM
Hi Marcus,

that was exactly the problem. Many thanks!

Ivan
0
Neven Dinev
Telerik team
answered on 25 Sep 2012, 06:47 PM
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
0
Marcus
Top achievements
Rank 1
answered on 25 Sep 2012, 07:21 PM
Ahh, that may be. The project was created before the Graphite update a few weeks ago (when the actual Cordova file was added).
0
Ivan
Top achievements
Rank 1
answered on 26 Sep 2012, 09:17 AM
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?
Tags
AppBuilder companion app
Asked by
Marcus
Top achievements
Rank 1
Answers by
neven
Top achievements
Rank 1
Ivan
Top achievements
Rank 1
Neven Dinev
Telerik team
Marcus
Top achievements
Rank 1
Share this question
or