A Fuse Powered Company

Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

"there is a problem parsing the package" - Build 1127
Started by ksan May 26 2013 08:12 PM

13 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Strange issue on 1127. I was trying to build and run some sample apps on the device. Seems to build ok. Transferring to device over cable the process seems to get stuck. So I tried loading from web method and then I see the dreaded "Parse Error : There is a problem parsing the package" error. 

 

Funny thing is... I seem to be ok building and loading my project but not the CL samples. I tried 2 or 3 samples all with the same outcome. I rebooted my Mac, pulled the battery out of my Android device and repeated the whole process. Same result.

 

Not an urgent issue for me as I was simply trying to see something on device but thought I should report this in case there is a problem with 1127. 

 

Regards,

Kerem



[TOPIC: post.html]
#2

phil.s

[GLOBAL: userInfoPane.html]
phil.s
  • Contributor

  • 193 posts
  • Enterprise

I had this with an Galaxy S3 over testflight.  I think in the end I changed the build option to Samsung from google play and it worked.  Only seemed to happen on the S3 though not other samsung.  Maybe this will help maybe not?! 



[TOPIC: post.html]
#3

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Thanks for the suggestion. Will try and see how that goes. It is strange in that this issue seems to be affecting some of the sample code I tried but not my app which is great!  :)



[TOPIC: post.html]
#4

Tom

[GLOBAL: userInfoPane.html]
Tom
  • Moderator

  • 1,441 posts
  • Corona Staff

Which sample apps did you have problems running?

 

The Google vs. Samsung switch only affects the "target store" parameter used to specify the app store name -- it's doesn't affect anything with the build process.



[TOPIC: post.html]
#5

phil.s

[GLOBAL: userInfoPane.html]
phil.s
  • Contributor

  • 193 posts
  • Enterprise

I thought my "fix" was a bit of a fluke.  This just confirms it!



[TOPIC: post.html]
#6

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Hi Tom, 

 

CoronaEmailSMS sample was the first to give me the trouble. I have observed a problem in the email function in my app (which loads fine) and wanted to see if the sample exhibits the same glitch. I will make a separate thread or bug report about this once I manage to get the sample to run on my device. 

 

Regards,

Kerem



[TOPIC: post.html]
#7

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

I updated to Build 1133 and tried this again. The problem is still there and now my app also seems to be affected similarly. I'm don't think this is something to do with my Android device as it was working just fine until I first encountered this issue with CL Samples... 

 

Anyways, here's a link to ComposeEmailSMS sample as built on my system for Android.

 

https://dl.dropboxusercontent.com/u/16928994/ComposeEmailSMS.apk

 

Tom, if you could try to load this onto your Android device and see if you have the same problem I would much appreciate it. 

 

Thanks,

Kerem



[TOPIC: post.html]
#8

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Just to try to get to the bottom of this... I downgraded my Mac to Build 1123. Built CoronaEmailSMS sample and loaded it again. Same result. I built my app and loaded it up. It loads! 

 

I then came back to 1133 and my app built with 1133 still loads! This is good news since I can continue developing and testing my app. No idea why the samples will not load.



[TOPIC: post.html]
#9

cytronix

[GLOBAL: userInfoPane.html]
cytronix
  • Observer

  • 2 posts
  • Corona SDK

hi

I had same problem with my Huawei p6, after playing with corona settings on build for android form, I found the problem is because of my package name, after changing the default package name, every thing was ok!



[TOPIC: post.html]
#10

patso

[GLOBAL: userInfoPane.html]
patso
  • Enthusiast

  • 83 posts
  • Corona SDK

I had the same problem. It was caused by symbol "_" I used in my package name. It should be only letters, I suppose.



[TOPIC: post.html]
#11

monical

[GLOBAL: userInfoPane.html]
monical
  • Observer

  • 1 posts
  • Corona SDK

thanks patso.  that fixed my issue.



[TOPIC: post.html]
#12

besnikrama

[GLOBAL: userInfoPane.html]
besnikrama
  • Observer

  • 9 posts
  • Corona SDK

I solved the problem, by giving the name of project with letters not numbers. 



[TOPIC: post.html]
#13

anshuman

[GLOBAL: userInfoPane.html]
anshuman
  • Enthusiast

  • 79 posts
  • Enterprise

FYI - Sometimes it happens when a hidden Icon file ("Icon?") pops up in the files directory - the package build is fine but installation fails with parse error. 

 

Please open terminal and go to the files directory and have a look - and delete this file. Thereafter build it again and move to device and install. 

 

Hope this helps. 



[TOPIC: post.html]
#14

leonZak

[GLOBAL: userInfoPane.html]
leonZak
  • Observer

  • 22 posts
  • Enterprise

Almost a year later and it's still an issue. Put an app together and when building called it "1", i was just trying out somethings and figured 1, 2, 3, .. would make it easy to follow the progress. When I downloaded to any android it said there was a parsing error and wouldn't load & run. Renamed it on the build to "a" and it worked just fine. Did I miss something that said you shouldn't use numbers as the name?

 

And using a current build - March 2015. 

 

Thanks for this post, save a bunch of time. But this shouldn't be.




[topic_controls]
[/topic_controls]