1

I am getting an error "There is problem parsing package" .

I have checked the possible solution like this "Parse Error : There is a problem parsing the package" while installing Android application.

But in my case its bit different ,when push my apk by USB my app works fine but when i download it from my web server i get this error .

Any suggestion y i am getting this problem ?

Community
  • 1
  • 1
Code_Life
  • 5,742
  • 4
  • 29
  • 49
  • are downloading the apk in your code? – Uku Loskit Nov 15 '11 at 07:36
  • have you signed the apk..if not then may be both apk generated from different root folders..I mean both have different default keys..So check whether both onlne and offline apk is generated from same source folder – Maneesh Nov 15 '11 at 07:39
  • @Maneesh : I have signed my app with my Key already . Any other suggestion ? – Code_Life Nov 15 '11 at 07:41
  • Please uninstall the app first in device and install fresh from web server...do check same in emulator also – Maneesh Nov 15 '11 at 07:55

1 Answers1

1

I found solution . Error was due to MIME Type . I have been adding Mime type in aspx file not to IIS server which was causing problem . So , finally i have added mime type to IIS sever and my it started working . :)

Check this link for adding mime type to web server (IIS in mime case) : http://www.hosting.com/support/dedicated/IIS/newmime

Code_Life
  • 5,742
  • 4
  • 29
  • 49